From 35cef44309f43cd7c28b0102405bdaa4f908b452 Mon Sep 17 00:00:00 2001 From: samaradel Date: Sun, 18 Sep 2022 13:55:00 +0200 Subject: [PATCH] Update meta data --- templates/partials/head.html | 35 +++++++++++++---------------------- 1 file changed, 13 insertions(+), 22 deletions(-) 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 %}