summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2022-12-08 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2022-12-08 00:00:00 +0000
commit9627676ae51c63d626354c3caeba0476a1ab62004026d99807cb4ed0814ada4a (patch)
treeb8be2e78583ab6b1110116883ee2414141521d104fad86594a64a2c0535e9490
parentec831d721ed6560322b6c86c4c0393a73c8d7961327bea2a27d6f19da81f4499 (diff)
downloadhugo-theme-journal-9627676ae51c63d626354c3caeba0476a1ab62004026d99807cb4ed0814ada4a.tar.gz
hugo-theme-journal-9627676ae51c63d626354c3caeba0476a1ab62004026d99807cb4ed0814ada4a.zip
Don't assume contentDir is the default
-rw-r--r--layouts/partials/header.gmi2
-rw-r--r--layouts/partials/header.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.gmi b/layouts/partials/header.gmi
index c25735c..072ffae 100644
--- a/layouts/partials/header.gmi
+++ b/layouts/partials/header.gmi
@@ -1,3 +1,3 @@
```nicksphere logo
-{{ readFile "/content/templates/logo.txt" | safeHTML }}
+{{ readFile "templates/logo.txt" | safeHTML }}
``` \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index c1084d6..2379d84 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,3 +1,3 @@
<header class="logo">
- <pre class="logo__text">{{ readFile "/content/templates/logo.txt" }}</pre>
+ <pre class="logo__text">{{ readFile "templates/logo.txt" }}</pre>
</header> \ No newline at end of file