Skip to content

Commit 683a7f6

Browse files
committed
update footer
1 parent 2b8e1ca commit 683a7f6

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

content/learn/installing-zig.smd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ Zig 官网的[下载页面](https://ziglang.org/download/)中包含常见平台
1919
```bash
2020
brew install asdf
2121

22-
asdf plugin add zig https://github.com/zigcc/asdf-zig.git
22+
asdf plugin add zig https://github.com/asdf-community/asdf-zig.git
23+
24+
# 更新插件到最新版
25+
asdf plugin update zig
2326

2427
# 安装最新稳定版
2528
asdf install zig latest
2629

2730
# 设置为全局版本
28-
# asdf 0.16 之前
29-
asdf global zig latest
30-
31-
# asdf 0.16 之后
3231
asdf set --home zig latest
3332

34-
# 验证安装
33+
# 验证安装,asdf 会同时安装 zig 与 zls
3534
zig version
35+
zls version
3636
```

layouts/templates/base.shtml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,16 @@
4545
</div>
4646
<div id="search"></div>
4747
<super>
48+
<hr>
4849
<footer>
4950
<div>
5051
<div>
51-
<p>&copy; 2022–2025 |
52-
<a href="https://github.com/zigcc/zigcc.github.io">网站源码</a>
53-
| 由 <a href="https://zine-ssg.io/">Zine</a> 驱动
54-
| <a href="/rss">RSS</a>
55-
56-
</p>
52+
&copy; 2022 – 2025
53+
| <a href="https://github.com/zigcc/zigcc.github.io">GitHub</a>
54+
| 由 <a href="https://zine-ssg.io/">Zine</a> 驱动
55+
| <a href="http://course.ziglang.cc">Zig 圣经</a>
56+
| <a href="http://cookbook.ziglang.cc">Zig Cookbook</a>
57+
| <a href="/rss">RSS</a>
5758
</div>
5859
<div>
5960
<a

0 commit comments

Comments
 (0)