aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index c29fe6e..cb8d73f 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -44,7 +44,9 @@
{%- if config.extra.logo.text -%}{{ config.extra.logo.text | safe }}{%- endif -%}
</a></h1>
{%- elif config.extra.textlogo -%}
- <h1><a href="{{ get_url(path="/", lang=lang) }}{%- if config.extra.uglyurls %}/index.html{%- endif %}">{{ config.extra.textlogo | safe }}</a></h1>
+ <h1><a href="{{ get_url(path="/", lang=lang) }}{%- if config.extra.uglyurls -%}
+ {%- if lang == config.default_language -%}/{%- endif -%}
+ index.html{%- endif -%}">{{ config.extra.textlogo | safe }}</a></h1>
{%- elif config.title -%}
<h1><a href="{{ get_url(path="/", lang=lang) }}{%- if config.extra.uglyurls %}/index.html{%- endif %}">{{ config.title | safe }}</a></h1>
{%- endif -%}