Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8" ?>
- <urlset xmlns="http://www.google.com/schemas/sitemap/0.84" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd">
- <url>
- <loc>{{ absolute_url(path('homepage')) }}</loc>
- <priority>0.8</priority>
- </url>
- {% for saison in saisons %}
- <url>
- <loc>{{ absolute_url(path('episode_saison', {slug: serie.slug, saison: saison.saison})) }}</loc>
- <priority>0.9</priority>
- </url>
- {% endfor %}
- {% for video in videos %}
- <url>
- <loc>{{ absolute_url(path('episode_view', {slug: serie.slug, saison: video.saison, episode: video.episode})) }}</loc>
- <priority>1.0</priority>
- </url>
- {% endfor %}
- {% if news|length %}
- <url>
- <loc>{{ absolute_url(path('actu_list')) }}</loc>
- <priority>0.8</priority>
- </url>
- {% for actu in news %}
- <url>
- <loc>{{ absolute_url(path('news_single', {slug: serie.slug, news: actu.id})) }}</loc>
- <priority>0.8</priority>
- </url>
- {% endfor %}
- {% endif %}
- </urlset>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement