fix(SEO): URL relatives dans le sitemap
parent
74f936a3d0
commit
f8b1084118
|
@ -1,18 +1,8 @@
|
|||
{
|
||||
"title": "NonSco’llectif",
|
||||
"url": "https://nonscollectif.org/",
|
||||
"url": "https://nonscollectif.org",
|
||||
"language": "fr",
|
||||
"description": "Rétablissons la vérité sur l’instruction en famille",
|
||||
"feed": {
|
||||
"subtitle": "Rétablissons la vérité sur l’instruction 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": "NonSco’llectif",
|
||||
"email": "contact@nonscollectif.org",
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue