fix(): actually list most recent articles intead of older ones in side menu
This commit is contained in:
parent
5707d9da35
commit
9ccd3b3b66
|
@ -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 last 10 .Site.Pages }}
|
||||
{{ range first 10 .Site.Pages }}
|
||||
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
@ -20,7 +20,7 @@
|
|||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Site.Taxonomies.categories }}
|
||||
{{ with .Site.Taxonomies.categories }}
|
||||
<div id="categories" class="open">
|
||||
<h3 data-open="categories">{{ ( index $.Site.Data.translations $.Site.Params.locale ).categories }}</h3>
|
||||
<ul class="categories">
|
||||
|
|
Loading…
Reference in New Issue