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 e36f5799b3
commit 3080504e92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{{ define "main" -}} {{ define "main" -}}
<div class="posts"> <div class="posts">
{{ range .Data.Pages -}} {{ range .Site.RegularPages -}}
<article class="post"> <article class="post">
<h1 class="post-title"> <h1 class="post-title">
<a href="{{ .Permalink }}">{{ .Title }}</a> <a href="{{ .Permalink }}">{{ .Title }}</a>