aboutsummaryrefslogtreecommitdiff
path: root/layouts/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
index f2e757c..6f231df 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -12,9 +12,11 @@
</ul>
</nav>
{{ end -}}
+ {{ if .Site.RegularPages -}}
<h2>{{ i18n "journalEntries" }}</h2>
{{ range (where .Site.RegularPages.ByTitle "Section" "entry").ByPublishDate.Reverse -}}
{{ partial "metadata.html" . }}
{{ end -}}
+ {{ end -}}
</main>
{{- end }} \ No newline at end of file