diff --git a/templates/partials/head.html b/templates/partials/head.html index 6df5c98e9..2f43c6fbb 100644 --- a/templates/partials/head.html +++ b/templates/partials/head.html @@ -7,49 +7,40 @@ {% block title %} - {% if current_path == '/' %} {{ config.title }} - {%if section.title%} + + {% if section.title %} {{ section.title }} - {%endif%} - {%if page.title%} + {% elif page.title %} {{ page.title }} {%endif%} + {%if section.extra.imgPath %} - {%endif%} - {%if page.extra.imgPath%} + + {% elif page.extra.imgPath %} + {%endif%} + {%if section.description%} - {%endif%} - {%if page.description%} + + {%elif page.description%} + {%endif%} - {% else %} - {% if section.title %}{{ section.title }} • {% endif %}{% if page.title %}{{ page.title }} • {% endif - %}{{ config.title }} - - - {% endif %} - - - - + + {% endblock title %}