rizaldy.club/layouts/partials/recent.html

13 lines
341 B
HTML
Raw Normal View History

2022-05-24 12:25:13 +07:00
<div class="content-list">
<h2>Recent Notes</h2>
<!--
You can also configure this to find related pages!
All you need to pass into the "page-list.html" partial
is a collection of pages.
https://gohugo.io/content-management/related/
-->
{{$notes := .Site.RegularPages}}
{{partial "page-list.html" (first 3 $notes)}}
</div>