aboutsummaryrefslogtreecommitdiff
path: root/layouts/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html4
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">