hugo-theme-zirakzigil/layouts/partials/sidebar.html

13 lines
346 B
HTML
Raw Permalink Normal View History

2023-11-01 19:37:20 -04:00
<aside class="flex justify-center">
2023-02-20 22:37:42 -05:00
<div>
2023-11-01 19:37:20 -04:00
<ul class="menu menu-horizontal bg-base-200 rounded-box">
<li class="justify-center">
LATEST POSTS:
</li>
{{ range first 5 (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>
2023-02-20 22:37:42 -05:00
</div>
</aside>