diff --git a/content/learn/index.smd b/content/learn/index.smd index c99c3c6..63d37a8 100644 --- a/content/learn/index.smd +++ b/content/learn/index.smd @@ -6,7 +6,7 @@ .alternatives = [{ .name = "rss", .layout = "rss.xml", - .output = "/learn/index.xml", + .output = "index.xml", }], .draft = false, --- diff --git a/content/monthly/index.smd b/content/monthly/index.smd index 49cdcd6..50e3777 100644 --- a/content/monthly/index.smd +++ b/content/monthly/index.smd @@ -7,7 +7,7 @@ .alternatives = [{ .name = "rss", .layout = "rss.xml", - .output = "/monthly/index.xml", + .output = "index.xml", }], .custom = { .showTocDate = false diff --git a/content/post/index.smd b/content/post/index.smd index 18c4c94..374e508 100644 --- a/content/post/index.smd +++ b/content/post/index.smd @@ -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) \ No newline at end of file +[社区新闻](./news) diff --git a/content/rss.smd b/content/rss.smd new file mode 100644 index 0000000..8a2b11b --- /dev/null +++ b/content/rss.smd @@ -0,0 +1,17 @@ +--- +.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')) +[/monthly/index.xml]($link.page("monthly").alternative('rss')) +[/post/index.xml]($link.page("post").alternative('rss')) + diff --git a/layouts/templates/base.shtml b/layouts/templates/base.shtml index ce1b58d..6723f21 100644 --- a/layouts/templates/base.shtml +++ b/layouts/templates/base.shtml @@ -27,8 +27,8 @@ Source Code | BY-NC-ND 4.0 - -
+ | + RSS