mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-23 12:06:22 +00:00
12 lines
372 B
HTML
12 lines
372 B
HTML
<div class="content-list">
|
|
<h2>{{ i18n "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.ByLastmod.Reverse}}
|
|
{{partial "page-list.html" (first 3 $notes)}}
|
|
</div>
|
|
|