rewrote cache to work better

This commit is contained in:
Hazel Noack
2025-07-16 14:24:42 +02:00
parent 16a65df664
commit 797e115191
3 changed files with 111 additions and 19 deletions

View File

@@ -138,12 +138,3 @@ func (rc *Config) LoadConfigFile(file string) error {
return toml.Unmarshal(content, rc)
}
func (c *Config) Init() error {
log.Println("downloading website icons...")
for i := range c.Template.Websites {
c.Template.Websites[i].Cache()
}
return nil
}