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

15 lines
350 B
HTML
Raw Normal View History

2022-04-27 13:54:00 +00:00
<div class="side-recent">
<h2 class="side-title">
<a href="{{ .RelPermalink }}">Recent {{ .Section | humanize }}</a>
</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>