Skip to content

Commit 82a3e4e

Browse files
committed
增加公安备案号及发电
1 parent 480ffe0 commit 82a3e4e

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

hugo.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ params:
128128
displayCopyright: true
129129
displaySlogan: true
130130
displayICP: true
131-
displayGanbei: false
131+
displayGanbei: true
132132
displayPoweredBy: false
133133
width: normal
134134

i18n/zh-cn.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ changeLanguage: "切换语言"
33
changeTheme: "切换主题"
44
copyright: "© 2023 SEC.CAFE 安全咖啡."
55
icp: "粤ICP备2024258509号-1"
6-
gabei: "粤ICP备2024258509号-1"
6+
gabei: "粤公网安备44030002003757号"
77
slogan: "安全本应纯粹,规避内卷,用一杯咖啡回归安全的乐趣"
88
dark: "深色"
99
editThisPage: "在 GitHub 上编辑此页 →"

layouts/partials/footer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
{{- if .Site.Params.footer.displayCopyright }}<div class="text-sm">{{ $copyright | markdownify }}</div>{{ end }}
3636
<div class="flex">
3737
{{- if .Site.Params.footer.displayICP }}<div class="text-xs text-gray-500"><a href="https://beian.miit.gov.cn/" traget="_blank">{{ $icp | markdownify }}</a></div>{{ end }}
38-
{{- if .Site.Params.footer.displayGanbei }}<div class="text-xs px-2 text-gray-500"><a href="https://beian.miit.gov.cn/" traget="_blank">{{ $gabei | markdownify }}</a></div>{{ end }}
38+
{{- if .Site.Params.footer.displayGanbei }}<div class="text-xs px-2 text-gray-500"><a href="https://beian.miit.gov.cn/" class="flex items-start" traget="_blank"><img style="width:14px;padding-top: 1.5px;" src="{{ "images/logo.gabei.png" | relURL }}">{{ $gabei | markdownify }}</a></div>{{ end }}
3939
</div>
4040
</div>
4141
{{- if .Site.Params.footer.displaySlogan }}<div class="text-xs">{{ $slogan | markdownify }}</div>{{ end }}

layouts/partials/toc.html

+13
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,19 @@
4040
</svg>
4141
</button>
4242
</div>
43+
<div class="mt-4">
44+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9376316394747034"
45+
crossorigin="anonymous"></script>
46+
<ins class="adsbygoogle"
47+
style="display:block; text-align:center;"
48+
data-ad-layout="in-article"
49+
data-ad-format="fluid"
50+
data-ad-client="ca-pub-9376316394747034"
51+
data-ad-slot="3290676348"></ins>
52+
<script>
53+
(adsbygoogle = window.adsbygoogle || []).push({});
54+
</script>
55+
</div>
4356
</div>
4457
{{ end -}}
4558
</nav>

0 commit comments

Comments
 (0)