gitea插入备案号示例。

This commit is contained in:
2026-02-25 11:52:48 +08:00
parent 33a79e183e
commit 544c97c013

View File

@@ -174,4 +174,8 @@ sudo systemctl restart gitea
额外配置:
[ui]
; 禁用模棱两可的 Unicode 字符检测警告
AMBIGUOUS_UNICODE_DETECTION = false
AMBIGUOUS_UNICODE_DETECTION = false
网页中插入一个备案号示例:
位置:/var/lib/gitea/custom/templates/custom/extra_links.tmpl
<a class="item" href="https://beian.miit.gov.cn/">豫ICP备2021023625号-1</a>