Merge pull request 'Change opengraph image' (#1) from change_accueil into main

Reviewed-on: https://git.librezo.fr/Librezo/website/pulls/1
This commit is contained in:
Ismael Bouya 2023-10-17 10:19:53 +01:00
commit d84433f861
2 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

View File

@ -11,7 +11,7 @@
<meta property="og:title" content="{% if page %}{{ page.title }}{% elif section %}{{ section.title }}{% endif %}"/> <meta property="og:title" content="{% if page %}{{ page.title }}{% elif section %}{{ section.title }}{% endif %}"/>
<meta property="og:type" content="website"/> <meta property="og:type" content="website"/>
<meta property="og:url" content="{{ config.extra.public_url | safe }}{% if page %}{{ page.permalink | safe }}{% elif section %}{{section.permalink | safe }}{% endif %}"/> <meta property="og:url" content="{{ config.extra.public_url | safe }}{% if page %}{{ page.permalink | safe }}{% elif section %}{{section.permalink | safe }}{% endif %}"/>
<meta property="og:image" content="{{ config.extra.public_url | safe }}/img/drawings/accueil.webp"/> <meta property="og:image" content="{{ config.extra.public_url | safe }}/img/drawings/accueil_fond_blanc.webp"/>
{% if get_env(name="LIBREZO_WEBSITE", default="prod") == "dev" %}<meta name="robots" content="noindex,nofollow"/>{% endif %} {% if get_env(name="LIBREZO_WEBSITE", default="prod") == "dev" %}<meta name="robots" content="noindex,nofollow"/>{% endif %}
{% block head %}{% endblock head %} {% block head %}{% endblock head %}
</head> </head>