fix(SEO): URL relatives dans le sitemap
parent
74f936a3d0
commit
f8b1084118
|
@ -1,18 +1,8 @@
|
||||||
{
|
{
|
||||||
"title": "NonSco’llectif",
|
"title": "NonSco’llectif",
|
||||||
"url": "https://nonscollectif.org/",
|
"url": "https://nonscollectif.org",
|
||||||
"language": "fr",
|
"language": "fr",
|
||||||
"description": "Rétablissons la vérité sur l’instruction en famille",
|
"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": {
|
"author": {
|
||||||
"name": "NonSco’llectif",
|
"name": "NonSco’llectif",
|
||||||
"email": "contact@nonscollectif.org",
|
"email": "contact@nonscollectif.org",
|
||||||
|
|
|
@ -6,7 +6,7 @@ eleventyExcludeFromCollections: true
|
||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
{% for page in collections.all %}
|
{% for page in collections.all %}
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ site.url }}{{ page.url | url }}</loc>
|
<loc>{{ metadata.url }}{{ page.url | url }}</loc>
|
||||||
<lastmod>{{ page.date.toISOString() }}</lastmod>
|
<lastmod>{{ page.date.toISOString() }}</lastmod>
|
||||||
</url>
|
</url>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue