mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-20 04:58:52 +00:00
backport v27 changes (#471)
See https://github.com/go-gitea/gitea/issues/38621 --------- Co-authored-by: Lunny Xiao <[email protected]> Reviewed-on: https://gitea.com/gitea/docs/pulls/471 Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: TheFox0x7 <[email protected]>
This commit is contained in:
committed by
Lunny Xiao
co-authored by
Lunny Xiao
parent
45724f19ac
commit
74674a6259
+2
-2
@@ -13,10 +13,10 @@ aliases:
|
||||
|
||||
## 獲取頁面
|
||||
|
||||
Gitea 源程式碼附帶了範例頁面,位於 `contrib/legal` 目錄中。將它們複製到 `custom/public/assets/` 目錄下。例如,如果要添加隱私政策:
|
||||
Gitea 源程式碼附帶了範例頁面,位於 `contrib/service/sample-page` 目錄中。將它們複製到 `custom/public/assets/` 目錄下。例如,如果要添加隱私政策:
|
||||
|
||||
```
|
||||
wget -O /path/to/custom/public/assets/privacy.html https://raw.githubusercontent.com/go-gitea/gitea/main/contrib/legal/privacy.html.sample
|
||||
wget -O /path/to/custom/public/assets/privacy.html https://raw.githubusercontent.com/go-gitea/gitea/main/contrib/service/sample-page/privacy.html.sample
|
||||
```
|
||||
|
||||
現在,你需要編輯該頁面以滿足你的需求。特別是,你必須更改電子電子郵件地址、網址以及與 "Your Gitea Instance" 相關的引用,以匹配你的情況。
|
||||
|
||||
Reference in New Issue
Block a user