Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/learn/index.smd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.alternatives = [{
.name = "rss",
.layout = "rss.xml",
.output = "/learn/index.xml",
.output = "index.xml",
}],
.draft = false,
---
Expand Down
2 changes: 1 addition & 1 deletion content/monthly/index.smd
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
.alternatives = [{
.name = "rss",
.layout = "rss.xml",
.output = "/monthly/index.xml",
.output = "index.xml",
}],
.custom = {
.showTocDate = false
Expand Down
4 changes: 2 additions & 2 deletions content/post/index.smd
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
.alternatives = [{
.name = "rss",
.layout = "rss.xml",
.output = "/post/index.xml",
.output = "index.xml",
}],
.draft = false,
---

欢迎大家向我们投稿,会同步到微信公众号,投稿方式见[这里](./2023-09-05-hello-world)。

[社区新闻](./news)
[社区新闻](./news)
15 changes: 15 additions & 0 deletions content/rss.smd
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
.title = "RSS Feeds Overview",
.date = @date("2025-7-27"),
.author = "ZigCC",
.layout = "index.shtml",
.draft = false,
---

本站一共有 3 个 RSS 索引,分别索引了 学习、月刊和博客,便于满足不同读者的需求。

他们的链接分别是:
[/learn/index.xml]($link.page("learn").alternative('rss'))
[/monthly/index.xml]($link.page("monthly").alternative('rss'))
[/post/index.xml]($link.page("post").alternative('rss'))

4 changes: 2 additions & 2 deletions layouts/templates/base.shtml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<a href="https://github.com/zigcc/zigcc.github.io">Source Code</a>
|
<a href="https://creativecommons.org/licenses/by-nc-nd/4.0/">BY-NC-ND 4.0</a>
<!-- | -->
<!--TODO <a href="/index.xml">RSS</a> --></p>
|
<a href="/rss">RSS</a></p>
</div>
<div>
<a
Expand Down