c3re-website/themes/hugo-theme-flat/layouts/partials/side-recent.html

15 lines
350 B
HTML
Raw Permalink Normal View History

2023-12-13 22:55:13 +01:00
<div class="side-recent">
<h2 class="side-title">
<a href="{{ .RelPermalink }}">Recent {{ .Section | humanize }}</a>
</h2>
<hr />
<ul>
{{ range first 5 .RegularPages.ByDate.Reverse }}
<li>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
</div>