mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 01:13:08 +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
|
Title string `toml:"title"` // site title
|
||||||
URLs []string `toml:"urls"` // site URLs
|
URLs []string `toml:"urls"` // site URLs
|
||||||
Feeds map[string]string `toml:"feeds"` // site feeds
|
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
|
Templates *Templates `toml:"-"` // site templates
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,13 +4,13 @@ urls = ["gemini://example.com", "https://example.com"]
|
||||||
[feeds]
|
[feeds]
|
||||||
"/blog/" = "Example Feed"
|
"/blog/" = "Example Feed"
|
||||||
|
|
||||||
[task.gemini]
|
[tasks.gemini]
|
||||||
input = ".gmi"
|
input = ".gmi"
|
||||||
output = ".gmi"
|
output = ".gmi"
|
||||||
template = ".gmi"
|
template = ".gmi"
|
||||||
destination = "public"
|
destination = "public"
|
||||||
|
|
||||||
[task.geminiToHTML]
|
[tasks.geminiToHTML]
|
||||||
input = ".gmi"
|
input = ".gmi"
|
||||||
output = ".html"
|
output = ".html"
|
||||||
template = ".gmi"
|
template = ".gmi"
|
||||||
|
|
Loading…
Reference in a new issue