From f9920f6d736754372075c8f1014ab9440e333317 Mon Sep 17 00:00:00 2001
From: Brecht Savelkoul <brecht.savelkoul@alumni.lse.ac.uk>
Date: Fri, 13 Aug 2021 20:50:02 +0000
Subject: [PATCH] Execute darkmode script before first render
---
layouts/index.html | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/layouts/index.html b/layouts/index.html
index a68d61f..fdc03b1 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -5,11 +5,12 @@
{{define "main"}}
<!-- Main Page -->
<div class="singlePage">
+ {{partial "darkmode.html" .}}
{{.Content}}
<!-- Contact Info -->
- <div class="lt-centre">
+ <div>
{{partial "footer.html" .}}
</div>
</div>
-{{end}}
\ No newline at end of file
+{{end}}
--
Gitblit v1.10.0