This commit is contained in:
lutinglt
2025-11-23 11:07:46 +08:00
parent 6e3f207c6c
commit f91d295b42
3 changed files with 20 additions and 1 deletions

View File

@@ -68,6 +68,16 @@ For details, please refer to the Gitea documentation
> >
> Automatic color theme requires both light and dark theme files. > Automatic color theme requires both light and dark theme files.
### Template File Installation (Optional)
1. Download the latest template files from the release page and place them in the `gitea/templates` directory
2. Restart Gitea
> [!IMPORTANT]
>
> The template modifies Gitea's layout to make it closer to GitHub's layout. Do not use template files across versions,
> as this may lead to missing functionality and other issues.
## Screenshots ## Screenshots
### Basic Themes ### Basic Themes

View File

@@ -62,6 +62,15 @@ THEMES = gitea-auto, gitea-light, gitea-dark, github-auto, github-light, github-
> >
> 自动颜色主题需要亮色和暗色的主题文件 > 自动颜色主题需要亮色和暗色的主题文件
### 模板文件安装 (可选)
1. 在发布页下载最新的模板文件放入 `gitea/templates` 目录下
2. 重启 Gitea
> [!IMPORTANT]
>
> 模板修改了 Gitea 的布局, 使其更接近 GitHub 的布局, 请勿跨版本使用模板文件, 可能会导致功能缺失等问题
## 截图 ## 截图
### 基本主题 ### 基本主题