This commit is contained in:
2023-02-24 12:03:46 +09:00
parent d91a34577e
commit 1d0a63ba5b
7 changed files with 36 additions and 4 deletions

View File

@@ -27,6 +27,7 @@
</ul>
{{partial "toc.html" .}}
{{partial "textprocessing.html" . }}
{{partial "related.html" .}}
</article>
{{partial "footer.html" .}}
</div>

View File

@@ -7,6 +7,6 @@
https://gohugo.io/content-management/related/
-->
{{$notes := .Site.RegularPages.ByLastmod.Reverse}}
{{partial "page-list.html" (first 3 $notes)}}
{{partial "page-list.html" (first 10 $notes)}}
</div>

View File

@@ -0,0 +1,5 @@
<div class="content-list">
<h2>{{ i18n "related_notes" }}</h2>
{{$notes := .Site.RegularPages.Related .}}
{{partial "page-list.html" (first 3 $notes)}}
</div>