summaryrefslogtreecommitdiff
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
commit99732a1cdf09bc3fb225ab602a7af9c65f419bfe5184eebba6ca6e8911672624 (patch)
tree4f94993b48afe5e0be17e6a7f47900238fd39aea25078ff7ece88ef6e8ed9ca2
parentfc05d5b782d5e83503f1535674ba8a35cbbb11f199d1cf755443aff2856085cd (diff)
downloadhugo-theme-journal-99732a1cdf09bc3fb225ab602a7af9c65f419bfe5184eebba6ca6e8911672624.tar.gz
hugo-theme-journal-99732a1cdf09bc3fb225ab602a7af9c65f419bfe5184eebba6ca6e8911672624.zip
Make single.html more readable
-rw-r--r--layouts/_default/single.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 7612f54..cd80256 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -3,7 +3,8 @@
<p>{{ emojify ":link:" | safeHTML }} <a class="link" href="{{ .Site.Home.RelPermalink }}" rel="noreferrer">{{ i18n "returnHome" }}</a></p>
</nav>
{{- if (.Page.Params.pageinfo | default true) }}
-<p>{{ partial "pageinfo.html" . }}</p>{{ end }}
+<p>{{ partial "pageinfo.html" . }}</p>
+{{- end }}
<main>
<h1 id="{{ .File.TranslationBaseName }}">{{ .Name }}</h1>
{{ chomp (.Content) }}