File tree Expand file tree Collapse file tree 5 files changed +43
-49
lines changed
Expand file tree Collapse file tree 5 files changed +43
-49
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ [ ![ ] ( https://github.com/zigcc/zigcc.github.io/actions/workflows/gh-pages.yml/badge.svg )] ( https://github.com/zigcc/zigcc.github.io/actions/workflows/gh-pages.yml )
2+
3+ # Zig 语言中文社区
4+
5+ - < https://ziglang.cc >
6+ - 如果没有特殊声明,本网站内容均采用 [ CC BY-NC-ND
7+ 4.0] ( https://creativecommons.org/licenses/by-nc-nd/4.0/ ) 协议
8+
9+ <center >
10+ <p >欢迎来到 Zig 语言中文社区!(Zig Chinese Community,简称:ZigCC)</p >
11+ <a href =" https://discord.gg/UraRxD6WXD " >
12+ <img src =" https://img.shields.io/discord/1155469703846834187?label=Chat at Discord " />
13+ </a >
14+ <a href =" /index.xml " >
15+ <img src =" https://img.shields.io/badge/rss-F88900.svg?style=flat&logo=RSS&logoColor=white&label=网站 " />
16+ </a >
17+ <a href =" https://ask.ziglang.cc/atom.xml " >
18+ <img src =" https://img.shields.io/badge/rss-F88900.svg?style=flat&logo=RSS&logoColor=white&label=论坛 " />
19+ </a >
20+ </center >
21+
22+ > Zig Chinese Community is dedicated to sharing and spreading the use of
23+ > Zig language among Chinese users.
24+
25+ 本网站使用 [ zine] ( https://zine-ssg.io/ ) 进行构建。
26+
27+ 参考 [ quickstart] ( https://zine-ssg.io/quickstart/ ) 进行安装:
28+
29+ ``` bash
30+ # aur
31+ yay -S zine
32+
33+ # zig build install
34+ git clone https://github.com/kristoff-it/zine.git
35+ cd zine
36+ zig build install --release=safe
37+ ```
38+
39+ ``` bash
40+ # run server
41+ zine
42+ ```
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11Site {
22 .title = "Zig 语言中文社区",
3- .host_url = "https://example.com",// TODO
3+ .host_url = "https://ziglang.cc",
44 .content_dir_path = "content",
55 .layouts_dir_path = "layouts",
66 .assets_dir_path = "assets",
You can’t perform that action at this time.
0 commit comments