SwayBien 团队的 Gogs 主题

PJ568 74f8d8fa2b 【新增,模板】添加 instant.page 预加载功能并更新 README 文档 hace 1 año
public 74f8d8fa2b 【新增,模板】添加 instant.page 预加载功能并更新 README 文档 hace 1 año
templates 74f8d8fa2b 【新增,模板】添加 instant.page 预加载功能并更新 README 文档 hace 1 año
.gitignore 1df9906a2b 【初始】初始化项目基础结构与文档 hace 1 año
CONTRIBUTING.md 1df9906a2b 【初始】初始化项目基础结构与文档 hace 1 año
LICENSE 1df9906a2b 【初始】初始化项目基础结构与文档 hace 1 año
README.en.md 74f8d8fa2b 【新增,模板】添加 instant.page 预加载功能并更新 README 文档 hace 1 año
README.md 74f8d8fa2b 【新增,模板】添加 instant.page 预加载功能并更新 README 文档 hace 1 año

README.en.md

SwayBien Team's Gogs Theme

English | 简体中文

Changes and Features

  • Replace icons and title with SwayBien icons and title;
  • Replace default user avatar with matchstick man avatar;
  • Dark mode and toggle button based on Darkmode.js;
  • Page preloading feature based on instant.page.

Usage

  1. Download the theme files

    git clone --depth=1 https://github.com/swaybien/swb-gogs-theme.git
    
  2. Link theme files and restart the service

    cp -uvr swb-gogs-theme/public path/to/your/gogs/custom/public
    cp -uvr swb-gogs-theme/templates path/to/your/gogs/custom/templates
    cp -uvr swb-gogs-theme/public path/to/your/gogs/public
    cp -uvr swb-gogs-theme/templates path/to/your/gogs/templates
    # docker compose restart gogs
    
  3. Update the theme

    cd swb-gogs-theme
    git pull
    

Contributing

Contribution Guidelines

License

Creative Commons Attribution-ShareAlike 4.0 International License

Acknowledgments

Projects

Name License Address
darkmode.js MIT license Github、Website
instant.page MIT license Github、Website