Merge pull request #3 from soul9/patch-1

fix(menu): show only "real" posts and not "dynamic" pages  in most recent posts
This commit is contained in:
Aurélien Baumann 2017-05-16 23:27:22 +02:00 committed by GitHub
commit 0b22944e6a
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<div id="last-posts" class="open">
<h3 data-open="last-posts">{{ .Site.Title }} - {{ ( index $.Site.Data.translations $.Site.Params.locale ).mostrecentposts }}</h3>
<ul>
{{ range first 10 .Site.Pages }}
{{ range first 10 .Site.RegularPages }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>