mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-11-27 12:06:11 +00:00
config: Rename task to tasks
This commit is contained in:
parent
feb0c77d66
commit
72e9ba2d78
|
@ -14,7 +14,7 @@ type Config struct {
|
|||
Title string `toml:"title"` // site title
|
||||
URLs []string `toml:"urls"` // site URLs
|
||||
Feeds map[string]string `toml:"feeds"` // site feeds
|
||||
Tasks map[string]*Task `toml:"task"` // site tasks
|
||||
Tasks map[string]*Task `toml:"tasks"` // site tasks
|
||||
Templates *Templates `toml:"-"` // site templates
|
||||
}
|
||||
|
||||
|
|
|
@ -4,13 +4,13 @@ urls = ["gemini://example.com", "https://example.com"]
|
|||
[feeds]
|
||||
"/blog/" = "Example Feed"
|
||||
|
||||
[task.gemini]
|
||||
[tasks.gemini]
|
||||
input = ".gmi"
|
||||
output = ".gmi"
|
||||
template = ".gmi"
|
||||
destination = "public"
|
||||
|
||||
[task.geminiToHTML]
|
||||
[tasks.geminiToHTML]
|
||||
input = ".gmi"
|
||||
output = ".html"
|
||||
template = ".gmi"
|
||||
|
|
Loading…
Reference in a new issue