Skip to content

Commit 8e8fb62

Browse files
authored
Merge pull request #59 from zigcc/refactor-pages
chore: remove duplicate pages
2 parents 85d74d5 + 8b292e2 commit 8e8fb62

File tree

6 files changed

+14
-61
lines changed

6 files changed

+14
-61
lines changed

content/about.smd

Lines changed: 0 additions & 36 deletions
This file was deleted.

content/community.smd

Lines changed: 0 additions & 18 deletions
This file was deleted.

content/contributing.smd

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
.title = "About",
2+
.title = "贡献指南",
33
.date = @date("1990-01-01T00:00:00"),
44
.author = "ZigCC",
55
.layout = "index.shtml",
@@ -43,3 +43,12 @@ zine
4343

4444
- [ZigCC 网站](https://ziglang.cc)
4545
- [ZigCC 公众号](https://github.com/zigcc/.github/raw/main/zig_mp.png)
46+
47+
# [网站更新日志]($section.id('changelog'))
48+
49+
- **2025-06-30:** 切换到 [zine](https://zine-ssg.io/)
50+
- **2024-08-18:** 切换主题 [docsy](https://github.com/google/docsy)
51+
- **2024-07-14:** 启用 Zig 社区微信 2 群
52+
- **2024-03-29:** 使用自定义域名 ziglang.cc
53+
- **2022-12-10:** 切换主题 [cupper-hugo](https://github.com/zwbetz-gh/cupper-hugo-theme) –> [hugo-xmin](https://github.com/yihui/hugo-xmin)
54+
- **2022-07-20:** 首次上线

content/index.smd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.author = "ZigCC",
55
.layout = "index.shtml",
66
.draft = false,
7-
---
7+
---
88

99
[]($image.siteAsset('icons/zigcc.svg').id('logo'))
1010

@@ -17,4 +17,4 @@ Zig 中文社区致力于在中文用户中分享和传播 Zig 语言!
1717
3. 组织线上线下的学习活动和讨论
1818
4. 推广 Zig 语言在中文开发者中的应用
1919

20-
无论你是 Zig 专家还是初学者,[我们都欢迎你的加入]($link.page('contributing'))!
20+
[让我们一起探索 Zig 的魅力,推动 Zig 在中文社区内的发展!]($text.attrs('center','large','bold'))

content/learn/index.smd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
由于 Zig 目前还处于快速迭代,因此最权威的资料无疑是官方的 [Zig Language Reference](https://ziglang.org/documentation/master/),遇到语言的细节问题,基本都可以在这里找到答案。其次是社区的一些高质量教程,例如:
5555

5656
- **[Zig 日报](https://github.com/zigcc/forum/issues):**
57-
- **[Zig 语言圣经](https://course.ziglang.cc):** 一份内容全面、深入浅出介绍 Zig 的教程
57+
- **[Zig 圣经](https://course.ziglang.cc):** 一份内容全面、深入浅出,专为中文用户打造的 Zig 的教程
5858
- **[ziglings/exercises](https://codeberg.org/ziglings/exercises/):** Learn the Zig programming language by fixing tiny broken programs.
5959
- **[Zig Cookbook](https://cookbook.ziglang.cc/):** A collection of simple Zig programs that demonstrate good practices to accomplish common programming tasks
6060
- **[Awesome Zig](https://github.com/zigcc/awesome-zig):** A collection of some awesome public Zig programming language projects.

layouts/templates/base.shtml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
<a href="$site.page('monthly').link()">月刊</a>
1818
<a href="$site.page('post').link()">博客</a>
1919
<a href="$site.page('contributing').link()">贡献</a>
20-
<a href="$site.page('community').link()">社区</a>
21-
<a href="$site.page('about').link()">关于</a>
2220
</nav>
2321
</div>
2422
<super>
@@ -52,4 +50,4 @@
5250
</div>
5351
</footer>
5452
</body>
55-
</html>
53+
</html>

0 commit comments

Comments
 (0)