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:
3
src/_data/homePage.json
Normal file
3
src/_data/homePage.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"updated": "2026-11-11"
|
||||
}
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user