1
0
mirror of https://git.sr.ht/~adnano/kiln synced 2024-11-08 10:09:18 +01:00

config: Rename urls to url

This commit is contained in:
adnano 2021-03-19 23:37:22 -04:00
parent 59dd1796a0
commit c382c296c8
3 changed files with 4 additions and 4 deletions

@ -38,7 +38,7 @@ func (c *Config) Load(path string) error {
switch key {
case "title":
c.Title = value
case "urls":
case "url":
c.URLs = strings.Fields(value)
}
case "feeds":

@ -161,8 +161,8 @@ The following keys are supported:
:[ *Description*
| title
: Site title
| urls
: A list of site URLs separated by whitespace.
| url
: One or more site URLs separated by whitespace.
Site URLs are used when generating Atom feeds.
Site URLs may contain paths, but should not end with a trailing slash.

@ -1,5 +1,5 @@
title=Example Site
urls=gemini://example.com https://example.com
url=gemini://example.com https://example.com
[feeds]
/blog/=Example Feed