summaryrefslogtreecommitdiff
path: root/layouts/index.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/index.html
parent2de93801e1a8a657f0f98bf363ac3485cd11e1722d5feb33226860b8b3509bd7 (diff)
Remove extra newlines from HTML output
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 4a5afd0..02bf301 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,4 +1,4 @@
-{{ define "main" }}
+{{ define "main" -}}
<main>
<h1>{{ .Site.Params.indexTitle }}</h1>
<p>{{ .Site.Params.indexIntro }}</p>
@@ -11,6 +11,6 @@
</p>
</nav>
<h2>Journal Entries</h2>
- {{ partial "metadata.html" . }}
+ {{ partial "metadata.html" . -}}
</main>
-{{ end }}
+{{- end }}