From 65c430ba1b9c926e6f4354184ee0fcbe35b758d8 Mon Sep 17 00:00:00 2001
From: James Vasile <james@jamesvasile.com>
Date: Mon, 22 May 2023 17:05:13 -0400
Subject: [PATCH] Don't write an mdash in title unless subtitle exists

---
 website/themes/ots/templates/base.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/themes/ots/templates/base.html b/website/themes/ots/templates/base.html
index 4b03c5a..134b840 100644
--- a/website/themes/ots/templates/base.html
+++ b/website/themes/ots/templates/base.html
@@ -7,7 +7,7 @@
 
     <title>
         {% block title %}
-            {{SITENAME}} &mdash; {{SITESUBTITLE}}
+        {{SITENAME}}{%if SITESUBTITLE %} &mdash; {{SITESUBTITLE}}{% endif %}
         {% endblock %}
     </title>
 
-- 
GitLab