Ver código fonte

Third time lucky

master
Chris Smith 5 anos atrás
pai
commit
d99b5a6dd6
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      site/layouts/partials/head.html

+ 1
- 1
site/layouts/partials/head.html Ver arquivo

@@ -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>

Carregando…
Cancelar
Salvar