diff options
author | Valentin Popov <valentin@popov.link> | 2023-08-30 13:58:30 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2023-08-30 13:58:30 +0300 |
commit | 85d44f768e83d1e2d5e95a15d2bb52165ba67cca (patch) | |
tree | 4c4ee4c676b8d25bffca1e5ee089cff6f2bb8978 | |
parent | 575bc4a55472125f3e59237cf64f85b959cd439c (diff) | |
download | popov.link-85d44f768e83d1e2d5e95a15d2bb52165ba67cca.tar.xz popov.link-85d44f768e83d1e2d5e95a15d2bb52165ba67cca.zip |
Shortened page titles
-rw-r--r-- | templates/includes/title.html | 4 |
1 files 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>{{ title | default(value=config.title) | trim | safe }}</title>
\ No newline at end of file |