summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicksphere.ch>2022-08-04 00:00:00 +0000
committerNicholas Johnson <nick@nicksphere.ch>2022-08-04 00:00:00 +0000
commit157f564b9a35dd8e327a33b45b50167ff4f332cbe2be3629dd6106f026095743 (patch)
tree666ff8ff709f194f934ab363f0c212b84525cbfb21505d06fdc8b1e771b4e501 /layouts/_default/single.html
parent2de93801e1a8a657f0f98bf363ac3485cd11e1722d5feb33226860b8b3509bd7 (diff)
downloadhugo-theme-journal-157f564b9a35dd8e327a33b45b50167ff4f332cbe2be3629dd6106f026095743.tar.gz
hugo-theme-journal-157f564b9a35dd8e327a33b45b50167ff4f332cbe2be3629dd6106f026095743.zip
Remove extra newlines from HTML output
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index ed6063a..54aafbb 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,8 +1,8 @@
-{{ define "main" }}
+{{ define "main" -}}
<nav>
<p><a href="/" rel="noreferrer">Return to homepage</a></p>
</nav>
<main>
- {{ .Content }}
+ {{ .Content -}}
</main>
-{{ end }}
+{{- end }}