Skip to content

Commit

Permalink
Merge pull request #176 from Shikkanime/dev
Browse files Browse the repository at this point in the history
Fix sitemap
  • Loading branch information
Ziedelth committed Feb 12, 2024
2 parents 50d8c60 + 67533aa commit ff16e8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/templates/site/seo/sitemap.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.shikkanime.fr/</loc>
<lastmod>${episode.releaseDateTime}</lastmod>
<lastmod>${episode.releaseDateTime?replace("Z", "+00:00")}</lastmod>
</url>
<#list simulcasts as simulcast>
<url>
<loc>https://www.shikkanime.fr/catalog/${simulcast.slug}</loc>
<lastmod>${simulcast.lastReleaseDateTime}</lastmod>
<lastmod>${simulcast.lastReleaseDateTime?replace("Z", "+00:00")}</lastmod>
</url>
</#list>
<#list animes as anime>
<url>
<loc>https://www.shikkanime.fr/animes/${anime.slug}</loc>
<lastmod>${anime.lastReleaseDateTime}</lastmod>
<lastmod>${anime.lastReleaseDateTime?replace("Z", "+00:00")}</lastmod>
</url>
</#list>
</urlset>

0 comments on commit ff16e8b

Please sign in to comment.