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
+18
View File
@@ -0,0 +1,18 @@
{{ define "body" }}
<section class="page-hero" style="--accent: #009688">
<h1>{{ .Title }}</h1>
<p class="subtitle">{{ .Description }}</p>
</section>
<section class="page-content container">
<div class="about-intro">
<p>S.A. (@snoware) — 开源爱好者,Rust / Ruby 开发者。致力于构建实用、安全、优雅的命令行工具与服务端软件。</p>
<a href="https://gitee.com/snoware" class="btn btn-accent external" target="_blank" rel="noopener">Gitee 主页</a>
</div>
<div class="project-grid">
{{ range hugo.Data.projects.projects }}
{{ partial "project-card.html" . }}
{{ end }}
</div>
</section>
{{ end }}