config: Rename task to tasks

This commit is contained in:
adnano 2021-03-20 23:44:13 -04:00
parent feb0c77d66
commit 72e9ba2d78
2 changed files with 3 additions and 3 deletions

View file

@ -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
}

View file

@ -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"