fix(): actually list most recent articles intead of older ones in side menu

This commit is contained in:
kendo5731 2016-02-07 13:36:04 +01:00
parent 5707d9da35
commit 9ccd3b3b66
1 changed files with 2 additions and 2 deletions

View File

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