mirror of
https://github.com/falsycat/ar.falsy.cat.git
synced 2025-10-04 00:52:14 +00:00
update
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
</ul>
|
||||
{{partial "toc.html" .}}
|
||||
{{partial "textprocessing.html" . }}
|
||||
{{partial "related.html" .}}
|
||||
</article>
|
||||
{{partial "footer.html" .}}
|
||||
</div>
|
||||
|
@@ -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>
|
||||
|
||||
|
5
layouts/partials/related.html
Normal file
5
layouts/partials/related.html
Normal 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>
|
Reference in New Issue
Block a user