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
+17
View File
@@ -0,0 +1,17 @@
{{ define "body" }}
<section class="warning-page" style="--accent: #f44336">
<div class="warning-content">
<img src="{{ .Site.Params.logo }}" alt="XAGuarder" class="warning-logo" width="120" height="120">
<h1>发现不良网站!</h1>
<p class="warning-text">XAGuarder 保护了您。</p>
<p class="warning-sub">如果这是正常的网站,请检查是否通过当地公安机关备案。</p>
<a href="/" class="btn btn-primary">返回主页</a>
</div>
</section>
{{ end }}
{{ define "extra_head" }}
<style>
.warning-page { --accent: #f44336; }
</style>
{{ end }}