summaryrefslogtreecommitdiff
path: root/layouts/index.gmi
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.gmi')
-rw-r--r--layouts/index.gmi4
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 }}