diff --git a/templates/base.html b/templates/base.html index 03d2e72..4850b83 100644 --- a/templates/base.html +++ b/templates/base.html @@ -27,7 +27,9 @@ {% endif %} {# Page title #} + {% block title %} {{title}} | {{config.title}} + {% endblock title %} {# Site-wide styles #} diff --git a/templates/index.html b/templates/index.html index 08ac46f..fb2fb1e 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,6 +4,9 @@ {% block head %} {{ super() }} +{# Override title format for homepage #} +{% block title %}{{config.title}}{% endblock title %} + {% endblock head %} + + {# Pass data through to the base template #} {% block variable_wormhole %} {{ super() }}