summaryrefslogtreecommitdiff
path: root/views/header.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-17 20:13:02 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-21 19:41:47 +0200
commit77b20af11c6492616ece6cc7100b9d1f10722c3b (patch)
treee112a8e892f7df60240d145bdc93396cfb686793 /views/header.pug
parente036cc9eee1a28d9bef6d2615c22d1d9d1b86829 (diff)
downloadserver-77b20af11c6492616ece6cc7100b9d1f10722c3b.tar.gz
Add color themes.
Diffstat (limited to 'views/header.pug')
-rw-r--r--views/header.pug5
1 files changed, 4 insertions, 1 deletions
diff --git a/views/header.pug b/views/header.pug
index 454c35a..d386969 100644
--- a/views/header.pug
+++ b/views/header.pug
@@ -1,6 +1,9 @@
header
a(href="/")
- img(src="/images/rally-the-troops.svg" width=48 height=48)
+ if SITE_ICON
+ img(src="/images/"+SITE_ICON width=48 height=48)
+ else
+ img(src="/images/rally-the-troops.svg" width=48 height=48)
nav
a(href="/about") About
if user