From 5d08e8402299fc3ef75718b90a235f455ddfa026f404217d6f89e8afaf7ff624 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Fri, 25 Aug 2023 00:00:00 +0000 Subject: Correctly handle absent journal entries --- layouts/index.gmi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'layouts/index.gmi') diff --git a/layouts/index.gmi b/layouts/index.gmi index a15154c..05250fd 100644 --- a/layouts/index.gmi +++ b/layouts/index.gmi @@ -11,7 +11,9 @@ => {{ .URL }} {{ emojify ":link:" | safeHTML }} {{ .Name | safeHTML -}} {{ end -}} -{{ end }} +{{ end -}} + +{{ if .Site.RegularPages }} ## {{ i18n "journalEntries" -}} @@ -20,4 +22,6 @@ {{ partial "metadata.gmi" . -}} {{ end -}} +{{ end -}} + {{ end }} \ No newline at end of file -- cgit v1.2.3