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
commit8e8dc95204760f45a53b8cbb59e7017d53f0491501cdb9ecab759338fd713b02 (patch)
tree59830e4ea712ba44993dd9ad3fd0d863b0ea8e4d310aa4cda2596522d4fa1a92
parent8a405ead8cf9051e76c99e0fa7820c10b3e892ef996de30179ca779b468e3b2e (diff)
downloadhugo-theme-journal-8e8dc95204760f45a53b8cbb59e7017d53f0491501cdb9ecab759338fd713b02.tar.gz
hugo-theme-journal-8e8dc95204760f45a53b8cbb59e7017d53f0491501cdb9ecab759338fd713b02.zip
Make index variables in index.html mandatory
The variables are mandatory in Gemini. HTML should mirror that.
-rw-r--r--layouts/index.html4
1 files changed, 0 insertions, 4 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 0d56873..d49b710 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,11 +1,7 @@
{{ define "main" -}}
<main>
- {{- if .Site.Params.indexTitle }}
<h1>{{ .Site.Params.indexTitle }}</h1>
- {{- end -}}
- {{ if .Site.Params.indexIntro }}
<p>{{ .Site.Params.indexIntro }}</p>
- {{- end }}
<h2>{{ i18n "navLinks" }}</h2>
<nav>
<ul class="list">