diff options
author | tdro <tdro@noreply.example.com> | 2022-05-25 19:18:40 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-05-25 19:18:40 -0400 |
commit | 76fcd575e61a0f0e4ce602387d9a3b6098a23884 (patch) | |
tree | ebe4b9bae4d08c9f1cc402cd615229eba63c9eb2 /assets/templates | |
parent | 8710bcdc76615374cf40af2fb8ea2304f9cdaee1 (diff) | |
download | canory-76fcd575e61a0f0e4ce602387d9a3b6098a23884.tar.gz canory-76fcd575e61a0f0e4ce602387d9a3b6098a23884.tar.bz2 canory-76fcd575e61a0f0e4ce602387d9a3b6098a23884.zip |
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.
Diffstat (limited to 'assets/templates')
-rw-r--r-- | assets/templates/markdown.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
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 }} |