Fixed language codes in sitemap URLs

This commit is contained in:
str4d
2014-01-07 22:21:40 +00:00
parent e7b12c311e
commit 5056b223b2
2 changed files with 17 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
{%- for url in urls %}
<url>
<loc>{{ url_root }}{{ g.lang }}{{ url.path }}</loc>
<loc>{{ url_root }}{{ curlang }}{{ url.path }}</loc>
{%- for altlang in langs %}
<xhtml:link
rel="alternate"