diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-05-09 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-05-09 00:00:00 +0000 |
commit | 7ba1562e0912d6db13e7d195b087316a00764ca6731bd77cf634c7c47bceff4c (patch) | |
tree | 7fff0909c33b06d4e52068b845bd6aeedcb3647ce0d7c97c6f351457e51afde7 /layouts/index.html | |
parent | b077fceef78e9bda5f1402c22f8e7d4ffb47d0e3ac242ea8297981c45e30155b (diff) | |
download | hugo-theme-journal-0.5.2.tar.gz hugo-theme-journal-0.5.2.zip |
Make non-critical page elements optionalv0.5.2
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html index 3ba0607..d29c86a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,7 +1,11 @@ {{ define "main" -}} <main> + {{- if .Site.Params.indexTitle }} <h1>{{ .Site.Params.indexTitle }}</h1> + {{- end }} + {{- if .Site.Params.indexIntro }} <p>{{ .Site.Params.indexIntro }}</p> + {{- end }} <h2>Navigation Links</h2> <nav> <ul class="list"> |