aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-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