diff --git a/content/learn/index.smd b/content/learn/index.smd index 9578631..c99c3c6 100644 --- a/content/learn/index.smd +++ b/content/learn/index.smd @@ -3,6 +3,11 @@ .date = @date("2024-01-01T00:00:00"), .author = "Karl Seguin; ZigCC", .layout = "learn.shtml", +.alternatives = [{ + .name = "rss", + .layout = "rss.xml", + .output = "/learn/index.xml", +}], .draft = false, --- diff --git a/content/monthly/index.smd b/content/monthly/index.smd index 2621aff..49cdcd6 100644 --- a/content/monthly/index.smd +++ b/content/monthly/index.smd @@ -4,6 +4,11 @@ .author = "ZigCC", .layout = "monthly.shtml", .draft = false, +.alternatives = [{ + .name = "rss", + .layout = "rss.xml", + .output = "/monthly/index.xml", +}], .custom = { .showTocDate = false } diff --git a/content/post/index.smd b/content/post/index.smd index ed228fc..18c4c94 100644 --- a/content/post/index.smd +++ b/content/post/index.smd @@ -3,6 +3,11 @@ .date = @date("2024"), .author = "ZigCC", .layout = "post.shtml", +.alternatives = [{ + .name = "rss", + .layout = "rss.xml", + .output = "/post/index.xml", +}], .draft = false, --- diff --git a/content/post/news/index.smd b/content/post/news/index.smd index 8f3a05e..12748a5 100644 --- a/content/post/news/index.smd +++ b/content/post/news/index.smd @@ -3,6 +3,11 @@ .date = @date("2024-08-03T16:43:51+0800"), .author = "ZigCC", .layout = "post.shtml", +.alternatives = [{ + .name = "rss", + .layout = "rss.xml", + .output = "/post/news/index.xml", +}], .draft = false, --- diff --git a/layouts/post.xml b/layouts/rss.xml similarity index 90% rename from layouts/post.xml rename to layouts/rss.xml index b9c2b25..c014f30 100644 --- a/layouts/post.xml +++ b/layouts/rss.xml @@ -2,7 +2,7 @@ - + Zine -- https://zine-ssg.io en-US