summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2022-12-06 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2022-12-06 00:00:00 +0000
commit4cddcc49f68379b85ef50994ed834303a06034e2945fc9359d0a734db3b8d44a (patch)
tree9026121a3f7de7d4b62e32682eaf153ef42f5598deaeeb2fbd6c106570fa99c9 /layouts/_default/single.html
parent388120efecf61a26006043fb734424fe7cc0fb2a2ee1bcaaa1e01c498d2b13d9 (diff)
downloadhugo-theme-journal-4cddcc49f68379b85ef50994ed834303a06034e2945fc9359d0a734db3b8d44a.tar.gz
hugo-theme-journal-4cddcc49f68379b85ef50994ed834303a06034e2945fc9359d0a734db3b8d44a.zip
Show page info by default on entries only
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 3a6ade1..a1f9ea3 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -2,7 +2,7 @@
<nav>
<p id="return"><a href="/" rel="noreferrer">🔗 Return to homepage</a></p>
</nav>
-{{- if .Page.Params.pageinfo }}
+{{- if (.Page.Params.pageinfo | default true) }}
<p>{{ partial "pageinfo" . }}</p>{{ end }}
<main>
<h1 id="{{ .File.TranslationBaseName }}">{{ .Name }}</h1>