summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-08-14 20:32:15 +0200
committerGitHub <noreply@github.com>2019-08-14 20:32:15 +0200
commit3080504e92ce38423726b40d517df4b56be2e88f (patch)
treee3dcd617891c39be8ef14d508c8cfb0d3287bd7d
parente36f5799b396ecf7a665b330da8cac5b0b6e2891 (diff)
Use .Site.RegularPages on home page
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 6b273ff..ec6d2eb 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,6 @@
{{ define "main" -}}
<div class="posts">
-{{ range .Data.Pages -}}
+{{ range .Site.RegularPages -}}
<article class="post">
<h1 class="post-title">
<a href="{{ .Permalink }}">{{ .Title }}</a>