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.gmi | |
parent | b077fceef78e9bda5f1402c22f8e7d4ffb47d0e3ac242ea8297981c45e30155b (diff) | |
download | hugo-theme-journal-7ba1562e0912d6db13e7d195b087316a00764ca6731bd77cf634c7c47bceff4c.tar.gz hugo-theme-journal-7ba1562e0912d6db13e7d195b087316a00764ca6731bd77cf634c7c47bceff4c.zip |
Make non-critical page elements optionalv0.5.2
Diffstat (limited to 'layouts/index.gmi')
-rw-r--r-- | layouts/index.gmi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/index.gmi b/layouts/index.gmi index ab4fdb4..b97ef74 100644 --- a/layouts/index.gmi +++ b/layouts/index.gmi @@ -1,7 +1,11 @@ {{ define "main" }} +{{- if .Site.Params.indexTitle }} # {{ .Site.Params.indexTitle | safeHTML }} +{{- end }} +{{- if .Site.Params.indexIntro }} {{ .Site.Params.indexIntro | safeHTML }} +{{- end }} ## Navigation Links {{ range .Site.Menus.main -}} => {{ .URL }} {{ emojify ":link:" | safeHTML }} {{ .Name | safeHTML }} |