aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2023-08-30 13:58:30 +0300
committerValentin Popov <valentin@popov.link>2023-08-30 13:58:30 +0300
commit85d44f768e83d1e2d5e95a15d2bb52165ba67cca (patch)
tree4c4ee4c676b8d25bffca1e5ee089cff6f2bb8978
parent575bc4a55472125f3e59237cf64f85b959cd439c (diff)
downloadpopov.link-85d44f768e83d1e2d5e95a15d2bb52165ba67cca.tar.xz
popov.link-85d44f768e83d1e2d5e95a15d2bb52165ba67cca.zip
Shortened page titles
-rw-r--r--templates/includes/title.html4
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