From 76fcd575e61a0f0e4ce602387d9a3b6098a23884 Mon Sep 17 00:00:00 2001 From: tdro Date: Wed, 25 May 2022 19:18:40 -0400 Subject: themes/default/layouts: Multiplex RSS feeds Use one feed fetching logic and generate feeds as markdown. Due to generation step hugo has to run twice to fully generate all static content. --- assets/templates/markdown.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 assets/templates/markdown.yaml (limited to 'assets/templates') diff --git a/assets/templates/markdown.yaml b/assets/templates/markdown.yaml new file mode 100644 index 0000000..109f5a1 --- /dev/null +++ b/assets/templates/markdown.yaml @@ -0,0 +1,9 @@ +--- +{{ range $key, $value := . -}} +{{- if ne $key "content" -}} +{{- $key }}: {{ $value }} +{{ end -}} +{{- end -}} +--- + +{{ .content }} -- cgit v1.2.3