Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sitemap: sitemapindex template addition
* Adds support for sitemap pages. (closes #3) Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
- Loading branch information
1 parent
34e050f
commit d7580a4
Showing
4 changed files
with
131 additions
and
4 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
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
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,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> | ||
{%- for sitemap in sitemaps %} | ||
<sitemap> | ||
<loc>{{ sitemap.loc }}</loc> | ||
{%- if sitemap.lastmod %} | ||
<lastmod>{{ sitemap.lastmod }}</lastmod> | ||
{%- endif %} | ||
</sitemap> | ||
{%- endfor %} | ||
</sitemapindex> |
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