Browse Source

Use .Site.RegularPages on home page

Bjørn Erik Pedersen 5 years ago
parent
commit
3080504e92
No account linked to committer's email
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      layouts/index.html

+ 1
- 1
layouts/index.html View File

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