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