Still refactoring, better _frontend and _public structuring

This commit is contained in:
2022-08-18 18:11:51 +02:00
parent 92cee16cc8
commit 227619e5eb
24 changed files with 1006 additions and 1398 deletions
+4 -4
View File
@@ -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",
},