mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 01:13:08 +00:00
2ef8f77d24
Every task can now have a [[tasks.feeds]] entry to generate one or more feeds. It must have the following arguments: [[tasks.feeds]] input_dir = "" title = "Example feed" template = "atom.xml" output = "atom.xml"
19 lines
344 B
TOML
19 lines
344 B
TOML
title = "Example website"
|
|
urls = ["gemini://example.com"]
|
|
|
|
[permalinks]
|
|
"/" = "/{{ .Date.Format `2006/01/02` }}/{{ path.Base .Permalink }}/"
|
|
|
|
[[tasks]]
|
|
input = [".gmi"]
|
|
output = ".gmi"
|
|
template = ".gmi"
|
|
static_dir = "static"
|
|
output_dir = "public"
|
|
|
|
[[tasks.feeds]]
|
|
input_dir = ""
|
|
title = "Example feed"
|
|
template = "atom.xml"
|
|
output = "atom.xml"
|