aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-08-25 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-08-25 00:00:00 +0000
commita6db62b926647cc882dba08d0a9fb8bf251f97d616cba2fdbd0ca1221207524e (patch)
tree44c4a9f1de48852cd41f18d3ac84b2c8f180e26b6aef7fd742cbbad7b6199517
parent995ceb51f60dceb4afdc52d492a3f232194cb15b5484abc673764466a8f0a13f (diff)
downloadhugo-theme-journal-a6db62b926647cc882dba08d0a9fb8bf251f97d616cba2fdbd0ca1221207524e.tar.gz
hugo-theme-journal-a6db62b926647cc882dba08d0a9fb8bf251f97d616cba2fdbd0ca1221207524e.zip
Make logo required
Pages look ugly without a logo. This also makes templates simpler.
-rw-r--r--layouts/partials/header.gmi4
-rw-r--r--layouts/partials/header.html4
2 files changed, 2 insertions, 6 deletions
diff --git a/layouts/partials/header.gmi b/layouts/partials/header.gmi
index 48155f5..acd249b 100644
--- a/layouts/partials/header.gmi
+++ b/layouts/partials/header.gmi
@@ -1,5 +1,3 @@
-{{ if fileExists "templates/logo.txt" -}}
```plaintext
{{ readFile "templates/logo.txt" | safeHTML }}
-```
-{{- end }} \ No newline at end of file
+``` \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index a0c7194..2379d84 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,5 +1,3 @@
-{{ if fileExists "templates/logo.txt" -}}
<header class="logo">
<pre class="logo__text">{{ readFile "templates/logo.txt" }}</pre>
-</header>
-{{- end }} \ No newline at end of file
+</header> \ No newline at end of file