Parcourir la source

Third time lucky

master
Chris Smith il y a 5 ans
Parent
révision
d99b5a6dd6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      site/layouts/partials/head.html

+ 1
- 1
site/layouts/partials/head.html Voir le fichier

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

Chargement…
Annuler
Enregistrer