From 5056b223b2494b8a3a21b15991e3dd4ea25ec2a6 Mon Sep 17 00:00:00 2001 From: str4d Date: Tue, 7 Jan 2014 22:21:40 +0000 Subject: [PATCH] Fixed language codes in sitemap URLs --- i2p2www/pages/global/sitemap.xml | 2 +- i2p2www/sitemap.py | 19 ++++++++++++++++--- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/i2p2www/pages/global/sitemap.xml b/i2p2www/pages/global/sitemap.xml index 020461fb..22d4daf0 100644 --- a/i2p2www/pages/global/sitemap.xml +++ b/i2p2www/pages/global/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> {%- for url in urls %} - {{ url_root }}{{ g.lang }}{{ url.path }} + {{ url_root }}{{ curlang }}{{ url.path }} {%- for altlang in langs %}