summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-08-30 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-08-30 00:00:00 +0000
commitd1bfb1b1e919ff81be90c019b913a4550d4c1c24436164ffec05a86026155cc0 (patch)
tree9ea4891610bca97d026be113e6be97a91d5eb4a6e78839ef0d1c6c4947ad3abf /layouts/partials
parent21b621959b2fd8db14166955995031c76ddedb3bfc79710fdbfc888dac003f67 (diff)
downloadhugo-theme-journal-0773370f6bcc0a2a34d2e564ab4810def29ff60b1f9ab5383581f088012dd628.tar.gz
hugo-theme-journal-0773370f6bcc0a2a34d2e564ab4810def29ff60b1f9ab5383581f088012dd628.zip
Fix logo spacingv1.0.1
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/header.gmi2
-rw-r--r--layouts/partials/header.html4
2 files changed, 4 insertions, 2 deletions
diff --git a/layouts/partials/header.gmi b/layouts/partials/header.gmi
index acd249b..a7f87a9 100644
--- a/layouts/partials/header.gmi
+++ b/layouts/partials/header.gmi
@@ -1,3 +1,3 @@
```plaintext
-{{ readFile "templates/logo.txt" | safeHTML }}
+{{ chomp (readFile "templates/logo.txt") | safeHTML }}
``` \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 2379d84..d8ec881 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,3 +1,5 @@
<header class="logo">
- <pre class="logo__text">{{ readFile "templates/logo.txt" }}</pre>
+<pre class="logo__text">
+{{ chomp (readFile "templates/logo.txt") }}
+</pre>
</header> \ No newline at end of file