diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-08-25 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-08-25 00:00:00 +0000 |
commit | 632a5422b665a2bf91fa9baeb709a9eb1b5f9773eeec9c2f3a9d22876e53f8be (patch) | |
tree | 460032f496120fa11fa141da70066708140b624d28d4b1d33e3f6500ca56cedf /layouts/index.html | |
parent | dd70d2fa0b4647771713853577ed175e21dca92e55dd31deee41d93628f920b5 (diff) | |
download | hugo-theme-journal-632a5422b665a2bf91fa9baeb709a9eb1b5f9773eeec9c2f3a9d22876e53f8be.tar.gz hugo-theme-journal-632a5422b665a2bf91fa9baeb709a9eb1b5f9773eeec9c2f3a9d22876e53f8be.zip |
Prefer right-aligned whitespace elimination
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html index e42e751..8eafc6c 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,8 +2,8 @@ <main> {{- if .Site.Params.indexTitle }} <h1>{{ .Site.Params.indexTitle }}</h1> - {{- end }} - {{- if .Site.Params.indexIntro }} + {{- end -}} + {{ if .Site.Params.indexIntro }} <p>{{ .Site.Params.indexIntro }}</p> {{- end }} <h2>{{ i18n "navLinks" }}</h2> |