Browse Source

And fix it on non-post pages...

master
Chris Smith 5 years ago
parent
commit
6b17b916ec
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      site/layouts/partials/head.html

+ 1
- 1
site/layouts/partials/head.html View File

47
 
47
 
48
         <section id="posts">
48
         <section id="posts">
49
           <ul>
49
           <ul>
50
-            {{ range first 3 .Pages }}
50
+            {{ range first 3 .Site.Pages }}
51
               <li class="recent">
51
               <li class="recent">
52
                 <a href="{{ .RelPermalink }}">{{ .Title }}</a>
52
                 <a href="{{ .RelPermalink }}">{{ .Title }}</a>
53
                 <p>{{ .Date.Format "Jan 2, 2006" }}</p>
53
                 <p>{{ .Date.Format "Jan 2, 2006" }}</p>

Loading…
Cancel
Save