diff --git a/themes/next.copyleft.org/templates/page.html b/themes/next.copyleft.org/templates/page.html index 33344eac9594058b5ff96010d5a25ad4799b03f0..595de97a7f3239a6f5496bed9277b7db3152ef38 100644 --- a/themes/next.copyleft.org/templates/page.html +++ b/themes/next.copyleft.org/templates/page.html @@ -1,7 +1,13 @@ {% extends "base.html" %} {% block html_lang %}{{ page.lang }}{% endblock %} -{% block title %}{{ SITENAME }} - {{ page.title|striptags }}{%endblock%} +{% block title %} + {% if output_file != 'index.html' %} + {{ SITENAME }} - {{ page.title|striptags }} + {% else %} + {{ SITENAME }} + {% endif %} +{% endblock %} {% block head %} {{ super() }} @@ -13,7 +19,9 @@ {% endblock %} {% block content %} -

{{ page.title }}

+ {% if output_file != 'index.html' %} +

{{ page.title }}

+ {% endif %} {% import 'translations.html' as translations with context %} {{ translations.translations_for(page) }}