chore: Refactor storia.go into its own module.
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
"git.phc.dm.unipi.it/phc/website/config"
|
||||
"git.phc.dm.unipi.it/phc/website/handler"
|
||||
"git.phc.dm.unipi.it/phc/website/server"
|
||||
"git.phc.dm.unipi.it/phc/website/storia"
|
||||
"git.phc.dm.unipi.it/phc/website/templates"
|
||||
)
|
||||
|
||||
@@ -24,10 +25,10 @@ func main() {
|
||||
),
|
||||
NewsArticlesRegistry: articles.NewRegistry("./_content/news"),
|
||||
GuideArticlesRegistry: articles.NewRegistry("./_content/guide"),
|
||||
ListaUtenti: &website.JsonFileListUtenti{
|
||||
ListaUtenti: &website.JsonFileListaUtenti{
|
||||
Path: "./utenti-poisson-2022.local.json",
|
||||
},
|
||||
Storia: &website.JsonFileStoria{
|
||||
Storia: &storia.JsonFileStoria{
|
||||
Path: "./storia.json",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user