Agregar lastmod a las home en el sitemap

La fecha vive en src/_data/homePage.json y se actualiza a mano al cambiar
la landing, igual que legalPages.json (la imagen de Docker no incluye .git).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jose Selesan
2026-11-11 21:11:06 -03:00
parent 7f16299e56
commit 4caf4c0dfa
3 changed files with 5 additions and 0 deletions

3
src/_data/homePage.json Normal file
View File

@@ -0,0 +1,3 @@
{
"updated": "2026-11-11"
}

View File

@@ -10,6 +10,7 @@ permalink: /sitemap.xml
<xhtml:link rel="alternate" hreflang="{{ alt.htmlLang }}" href="{{ site.url }}{{ alt.path }}" />
{%- endfor %}
<xhtml:link rel="alternate" hreflang="x-default" href="{{ site.url }}/" />
<lastmod>{{ homePage.updated }}</lastmod>
<changefreq>monthly</changefreq>
<priority>{% if loc.path == "/" %}1.0{% else %}0.9{% endif %}</priority>
</url>