Skip to content

Commit

Permalink
Merge pull request #496 from Shikkanime/dev
Browse files Browse the repository at this point in the history
Update sitemap.ftl
  • Loading branch information
Ziedelth committed May 27, 2024
2 parents 28c1b0e + e8f5d55 commit aa796f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/resources/templates/site/seo/sitemap.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
</url>
</#list>
<#list animes as anime>
<url>
<loc>${baseUrl}/animes/${anime.slug}</loc>
<lastmod>${anime.seasons?first.lastReleaseDateTime?replace("Z", "+00:00")}</lastmod>
</url>
<#list anime.seasons as season>
<url>
<loc>${baseUrl}/animes/${anime.slug}/season-${season.number}</loc>
Expand Down

0 comments on commit aa796f5

Please sign in to comment.