将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,27 @@
{{- define "main" }}
{{- if .Title }}
<header class="page-header">
<h1>{{ .Title }}</h1>
{{- if .Description }}
<div class="post-description">
{{ .Description }}
</div>
{{- end }}
</header>
{{- end }}
<ul class="terms-tags">
{{- $type := .Type }}
{{- range $key, $value := .Data.Terms.Alphabetical }}
{{- $name := .Name }}
{{- $count := .Count }}
{{- with site.GetPage (printf "/%s/%s" $type $name) }}
<li>
<a href="{{ .Permalink }}">{{ .Name }} <sup><strong><sup>{{ $count }}</sup></strong></sup> </a>
</li>
{{- end }}
{{- end }}
</ul>
{{- end }}{{/* end main */ -}}