mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-02-15 08:01:12 +01:00
Fix: remove submodule
This commit is contained in:
9
themes/hugo-theme-yue/layouts/section.html
Normal file
9
themes/hugo-theme-yue/layouts/section.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{{- /* paginate section */ -}} {{ define "main" }} {{ $pages := .Pages }} {{ $sectionPagerSize := or
|
||||
site.Params.sectionPagerSize 10 }} {{ $paginator := .Paginate $pages $sectionPagerSize }} {{
|
||||
.Content }} {{ range $paginator.Pages }} {{- /* show date and lastmod */ -}} {{ partial
|
||||
"main/dates.html" . }}
|
||||
<h2 class="section-post-title"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
|
||||
{{ end }}
|
||||
|
||||
<nav class="paginator">{{- partial "pagination.html" . }} {{/* embedded template */}}</nav>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user