https://github.com/tangnpc/test
https://github.com/tangnpc/test
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tangnpc/test
- Owner: TangNPC
- License: other
- Created: 2020-10-03T11:49:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-03T04:51:59.000Z (over 5 years ago)
- Last Synced: 2025-10-05T13:35:30.332Z (8 months ago)
- Homepage: https://test-seven-gold.vercel.app
- Size: 1.52 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# LUG @ USTC 新版网站
**前方施工**
## 添加与修改页面
本网站采用 [Minimal Mistakes 主题](https://mmistakes.github.io/minimal-mistakes/),各自定义项目参见主题的文档。
添加新页面(Wiki / News / Planet)请分别在 `pages/_wiki`,`pages/_news`,`pages/_planet` 中参考 `_template.md`。
请将图片上传至 [website-static 仓库](https://github.com/ustclug/website-static),并使用如下格式引用:
```markdown

```
## 本地预览与构建
1. 安装 Ruby 开发环境(略)
2. 运行 `bundle install --path=vendor/bundle` 以安装依赖的软件包
3. 运行 `bundle exec jekyll serve`,此时即可在 预览网站
4. 编译整个网站的命令为
```shell
bundle exec jekyll build
```
在命令行末尾添加 `--profile` 可以查看编译性能分析(每个源文件耗时),添加 `--trace` 可以在出错时输出 stack trace
正式部署时需要添加环境变量 `JEKYLL_ENV=production`,详情请见 GitHub Actions 的 workflow 配置
## 许可
本仓库及本网站以 [CC BY-NC-SA 4.0](LICENSE.md) 许可协议开源。
1