Rebuild site with Hugo: unified dark theme, SVG logo, data-driven content
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user