From 85d44f768e83d1e2d5e95a15d2bb52165ba67cca Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 30 Aug 2023 14:58:30 +0400 Subject: Shortened page titles --- templates/includes/title.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/includes/title.html b/templates/includes/title.html index 24fca24..c2dbf66 100644 --- a/templates/includes/title.html +++ b/templates/includes/title.html @@ -1,9 +1,9 @@ {% if page.title %} -{% set title = page.title ~ ' | ' ~ config.title %} +{% set title = page.title %} {% endif %} {% if section.title %} -{% set title = section.title ~ ' | ' ~ config.title %} +{% set title = section.title %} {% endif %} {{ title | default(value=config.title) | trim | safe }} \ No newline at end of file -- cgit v1.2.3