forked from getpelican/pelican-themes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:feld/pelican-themes
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | ||
|
||
{% for article in articles %} | ||
<url> | ||
<loc>{{ SITEURL }}/{{ article.url }}</loc> | ||
<priority>0.8</priority> | ||
</url> | ||
|
||
{% for translation in article.translations %} | ||
<url> | ||
<loc>{{ SITEURL }}/{{ translation.url }}</loc> | ||
<priority>0.8</priority> | ||
</url> | ||
{% endfor %} | ||
{% endfor %} | ||
|
||
{% for page in pages %} | ||
<url> | ||
<loc>{{ SITEURL }}/{{ page.url }}</loc> | ||
<priority>1.0</priority> | ||
</url> | ||
|
||
{% for translation in page.translations %} | ||
<url> | ||
<loc>{{ SITEURL }}/{{ translation.url }}</loc> | ||
<priority>1.0</priority> | ||
</url> | ||
{% endfor %} | ||
{% endfor %} | ||
|
||
</urlset> |