将PaperMod添加为静态文件
Some checks failed
Build and Deploy Qingshuige / build-deploy (push) Failing after 2s

This commit is contained in:
2026-02-03 03:04:10 +08:00
parent 67c9270df7
commit c6f751ec63
118 changed files with 5858 additions and 7 deletions

View File

@@ -0,0 +1,19 @@
{{- $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
{{- if and (gt (len $pages) 1) (in $pages . ) }}
<nav class="paginav">
{{- with $pages.Next . }}
<a class="prev" href="{{ .Permalink }}">
<span class="title">« {{ i18n "prev_page" }}</span>
<br>
<span>{{- .Name -}}</span>
</a>
{{- end }}
{{- with $pages.Prev . }}
<a class="next" href="{{ .Permalink }}">
<span class="title">{{ i18n "next_page" }} »</span>
<br>
<span>{{- .Name -}}</span>
</a>
{{- end }}
</nav>
{{- end }}