From abdf76368d7f16d7d28a35dc6f5866b26e56d173 Mon Sep 17 00:00:00 2001 From: Stef Dunlap Date: Thu, 12 Jan 2023 11:12:37 -0500 Subject: [PATCH] Add actually simple syndication --- config.toml | 12 ++++++++++++ layouts/index.ass | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 layouts/index.ass diff --git a/config.toml b/config.toml index b75b503..df30216 100644 --- a/config.toml +++ b/config.toml @@ -8,3 +8,15 @@ enableEmoji = true [markup.goldmark] [markup.goldmark.renderer] unsafe = true + +[mediaTypes."text/ass"] + suffixes = ["ass"] + +[outputFormats] + [outputFormats.ActuallySimpleSyndication] + baseName = 'feed' + isPlainText = true + mediaType = 'text/ass' + +[outputs] + home = ['HTML', 'AMP', 'RSS', "ActuallySimpleSyndication"] diff --git a/layouts/index.ass b/layouts/index.ass new file mode 100644 index 0000000..ebb6697 --- /dev/null +++ b/layouts/index.ass @@ -0,0 +1,4 @@ +# https://tilde.town/~dzwdz/ass/ +{{ range .Site.RegularPages -}} +{{ .Date.Format "2006-01-02" }} {{ .Permalink }} {{ .Title }} +{{ end }}