Still refactoring, better _frontend and _public structuring
This commit is contained in:
@@ -18,11 +18,11 @@ func main() {
|
||||
h := &handler.DefaultHandler{
|
||||
AuthService: auth.NewDefaultService(config.AuthServiceHost),
|
||||
Renderer: templates.NewRenderer(
|
||||
"./views/",
|
||||
"./views/base.html",
|
||||
"./views/partials/*.html",
|
||||
"./_views/",
|
||||
"./_views/base.html",
|
||||
"./_views/partials/*.html",
|
||||
),
|
||||
NewsArticlesRegistry: articles.NewRegistry("./news"),
|
||||
NewsArticlesRegistry: articles.NewRegistry("./_content/news"),
|
||||
ListaUtenti: &website.JsonFileListUtenti{
|
||||
Path: "./utenti-poisson-2022.local.json",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user