diff options
Diffstat (limited to 'template.py')
-rwxr-xr-x | template.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template.py b/template.py index 91ee0a8e..69488078 100755 --- a/template.py +++ b/template.py @@ -42,7 +42,7 @@ for in_file in glob.glob("template/*.j2"): """ Return URL for the current page in another locale. """ - return "../" + other_locale + "/" + in_file.rstrip(".j2") + return "../" + other_locale + "/" + in_file.replace('template/', '').rstrip(".j2") def url_localized(filename): return "../" + locale + "/" + filename |