fix: announce the sitemap from each page

This commit is contained in:
Abdessamad Derraz committed 2026-10-18 17:19:09 +02:00
1 parent 6c50e29dfa
commit e56621de42
3 files changed
+23 -6

No files matched your search

+4
View File
@@ -23,6 +23,10 @@
{% if page_url %}<meta property="og:url" content="{{ page_url }}">{% endif %}
{% if preview_image %}<meta property="og:image" content="{{ preview_image }}">{% endif %}
{# The sitemap, named from every page: a project site under /retrobios/
cannot serve the host-root robots.txt that would announce it. #}
{% if config.site_url %}<link rel="sitemap" type="application/xml" title="Sitemap" href="{{ config.site_url }}sitemap.xml">{% endif %}
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="{{ page_title }}">
<meta name="twitter:description" content="{{ page_description }}">