summaryrefslogtreecommitdiff
path: root/layouts/index.gmi
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
commit632a5422b665a2bf91fa9baeb709a9eb1b5f9773eeec9c2f3a9d22876e53f8be (patch)
tree460032f496120fa11fa141da70066708140b624d28d4b1d33e3f6500ca56cedf /layouts/index.gmi
parentdd70d2fa0b4647771713853577ed175e21dca92e55dd31deee41d93628f920b5 (diff)
downloadhugo-theme-journal-632a5422b665a2bf91fa9baeb709a9eb1b5f9773eeec9c2f3a9d22876e53f8be.tar.gz
hugo-theme-journal-632a5422b665a2bf91fa9baeb709a9eb1b5f9773eeec9c2f3a9d22876e53f8be.zip
Prefer right-aligned whitespace elimination
Diffstat (limited to 'layouts/index.gmi')
-rw-r--r--layouts/index.gmi14
1 files changed, 7 insertions, 7 deletions
diff --git a/layouts/index.gmi b/layouts/index.gmi
index ea867d2..1f1d5f1 100644
--- a/layouts/index.gmi
+++ b/layouts/index.gmi
@@ -1,11 +1,11 @@
-{{ define "main" }}
-{{- if .Site.Params.indexTitle }}
-# {{ .Site.Params.indexTitle | safeHTML }}
-{{- end }}
-{{- if .Site.Params.indexIntro }}
-{{ .Site.Params.indexIntro | safeHTML }}
+{{ define "main" -}}
+{{ if .Site.Params.indexTitle }}
+# {{ .Site.Params.indexTitle | safeHTML -}}
+{{ end -}}
+{{ if .Site.Params.indexIntro }}
+{{ .Site.Params.indexIntro | safeHTML -}}
-{{- end }}
+{{ end }}
## {{ i18n "navLinks" }}
{{ range .Site.Menus.main -}}
=> {{ .URL }} {{ emojify ":link:" | safeHTML }} {{ .Name | safeHTML }}