Rebuild site with Hugo: unified dark theme, SVG logo, data-driven content

This commit is contained in:
2026-07-08 16:14:01 +08:00
parent 0eaec96b68
commit 1214e48733
47 changed files with 1169 additions and 2766 deletions
+13
View File
@@ -0,0 +1,13 @@
{{ define "body" }}
<section class="page-hero" style="--accent: #1565c0">
<h1>学科资源列表</h1>
<p class="subtitle">蓝奏云下载 · 点击学科即可跳转</p>
</section>
<section class="page-content container">
<div class="filelist-grid">
{{ range hugo.Data.subjects.subjects }}
{{ partial "subject-card.html" . }}
{{ end }}
</div>
</section>
{{ end }}