Mike Walton
2023-03-23 b7c305e0024ca78c1d9f9d7a5107ffc124c56ab1
1
2
3
4
5
6
7
8
9
10
11
<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>