fix(SEO): URL relatives dans le sitemap

pull/1/head
Jalil Arfaoui 2022-08-08 11:24:04 +02:00
parent 74f936a3d0
commit f8b1084118
2 changed files with 2 additions and 12 deletions

View File

@ -1,18 +1,8 @@
{
"title": "NonScollectif",
"url": "https://nonscollectif.org/",
"url": "https://nonscollectif.org",
"language": "fr",
"description": "Rétablissons la vérité sur linstruction en famille",
"feed": {
"subtitle": "Rétablissons la vérité sur linstruction en famille",
"filename": "feed.xml",
"path": "/feed/feed.xml",
"id": "https://nonscollectif.org/"
},
"jsonfeed": {
"path": "/feed/feed.json",
"url": "https://nonscollectif.org/feed/feed.json"
},
"author": {
"name": "NonScollectif",
"email": "contact@nonscollectif.org",

View File

@ -6,7 +6,7 @@ eleventyExcludeFromCollections: true
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for page in collections.all %}
<url>
<loc>{{ site.url }}{{ page.url | url }}</loc>
<loc>{{ metadata.url }}{{ page.url | url }}</loc>
<lastmod>{{ page.date.toISOString() }}</lastmod>
</url>
{% endfor %}