all repos — homestead @ b8a2bb93e2b2cc9cc609053d02b9cdd7d64de0c3

Code for my website

add special case for handling go-get queries

Alan Pearce
commit

b8a2bb93e2b2cc9cc609053d02b9cdd7d64de0c3

parent

62c36b5b667ab10936f444e01e6f2c567c7c2126

1 file changed, 8 insertions(+), 0 deletions(-)

changed files
M internal/config/config.gointernal/config/config.go
@@ -53,6 +53,12 @@
return fault.Wrap(err, fmsg.With(fmt.Sprintf("could not parse timezone %s", string(text)))) } +type GoPackagesConfig struct { + Domain URL + Forge URL + Packages []string +} + type Config struct { Title string Email string
@@ -76,6 +82,8 @@
Taxonomies []Taxonomy Menu []MenuItem RelMe []MenuItem `toml:"rel_me"` + + Go GoPackagesConfig } func GetConfig(dir string, log *log.Logger) (*Config, error) {