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:
commit
0b22944e6a
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue