hugo-theme-flat/layouts/partials/side-recent.html

13 lines
302 B
HTML
Raw Normal View History

2022-04-27 13:54:00 +00:00
<div class="side-recent">
2022-05-18 05:50:07 +00:00
<h2 class="side-title">Recent {{ .Section | humanize }}</h2>
2022-04-27 13:54:00 +00:00
<hr />
<ul>
2022-05-18 05:50:07 +00:00
{{ range first 5 .RegularPages.ByDate.Reverse }}
2022-04-27 13:54:00 +00:00
<li>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
2022-05-18 05:50:07 +00:00
</div>