2020-01-12 14:14:15 +01:00
|
|
|
{{ if .Site.Params.widgets.recent_articles }}
|
|
|
|
|
|
|
|
<div class="widget-wrap">
|
2020-01-12 21:05:46 +01:00
|
|
|
<div class="widget">
|
|
|
|
<ul id="recent-post">
|
|
|
|
<li id="first-recent"><a href="/index.xml" id="firstmove" class="move">
|
|
|
|
<h3 class="widget-title">
|
|
|
|
Posts
|
|
|
|
</h3>
|
|
|
|
</a></li>
|
2020-02-09 12:20:47 +01:00
|
|
|
{{ range first 10 (where .Site.RegularPages "Type" "post") }}
|
2020-01-12 14:14:15 +01:00
|
|
|
|
2020-02-09 12:20:47 +01:00
|
|
|
<li><a href="{{ .Permalink }}" class="move"> {{ .Title }}</a> </li>
|
|
|
|
{{ end }}
|
2020-01-12 21:05:46 +01:00
|
|
|
</ul>
|
|
|
|
</div>
|
2020-01-12 14:14:15 +01:00
|
|
|
</div>
|
2020-02-09 12:20:47 +01:00
|
|
|
{{ end }}
|