Rebuild site with Hugo: unified dark theme, SVG logo, data-driven content
This commit is contained in:
@@ -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 }}
|
||||
@@ -0,0 +1,34 @@
|
||||
{{ define "body" }}
|
||||
<section class="page-hero" style="--accent: #1565c0">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<p class="subtitle">{{ .Description }}</p>
|
||||
</section>
|
||||
<section class="page-content container">
|
||||
<div class="res-intro">
|
||||
<p class="res-intro-text">{{ .Content }}</p>
|
||||
</div>
|
||||
|
||||
<div class="res-actions">
|
||||
<a href="/res/filelist/" class="btn btn-primary btn-lg">下载源:蓝奏云</a>
|
||||
<a href="https://www.alipan.com/s/RMfnGxo6Z9D" class="btn btn-accent btn-lg external" target="_blank" rel="noopener">阿里云盘(需登录)</a>
|
||||
</div>
|
||||
|
||||
<div class="res-features">
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon">📋</div>
|
||||
<h3>查漏补缺</h3>
|
||||
<p>针对性复习薄弱知识点</p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon">🔄</div>
|
||||
<h3>习题重练</h3>
|
||||
<p>反复练习巩固学习成果</p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon">📖</div>
|
||||
<h3>预习复习</h3>
|
||||
<p>提前预习,高效复习</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user