Use .Site.RegularPages on home page

This commit is contained in:
Bjørn Erik Pedersen 2019-08-14 20:32:15 +02:00 committed by GitHub
parent aac8e52817
commit 19d9a135fe
1 changed files with 1 additions and 1 deletions

View File

@ -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>