From c282001303a5f9df09fa7c0083c4d849b671c6a9 Mon Sep 17 00:00:00 2001 From: Luke Fretwell Date: Tue, 9 Jun 2026 15:23:03 -0700 Subject: [PATCH] Add conditionals to header, footer, js --- _includes/footer.html | 4 ++-- _includes/header.html | 8 ++++---- _includes/js.html | 9 ++++++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/_includes/footer.html b/_includes/footer.html index 850d8f5a..fed4c960 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -19,12 +19,12 @@
-

+ {% if site.org %}

Built with by {{ site.org }} -

+

{% endif %}
diff --git a/_includes/header.html b/_includes/header.html index 45625463..2bb08420 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -17,12 +17,12 @@ - {{ title }} - {{ site.title }} + {% if title %}{{ title }} - {% endif %}{{ site.title }} - - + {% if title %}{% endif %} + {% if description %}{% endif %} {% if ogImage %} @@ -67,7 +67,7 @@ - + diff --git a/_includes/js.html b/_includes/js.html index c2cef6f7..9f24f98d 100644 --- a/_includes/js.html +++ b/_includes/js.html @@ -10,9 +10,12 @@ darkQuery.addEventListener('change', e => setTheme(e.matches));