refactor: common base template for pages

will allow to add common header and stuff
This commit is contained in:
efim
2023-11-13 05:25:02 +00:00
parent b1f2e896b9
commit 1297fcf35d
8 changed files with 140 additions and 55 deletions

10
routes/base_page.go Normal file
View File

@@ -0,0 +1,10 @@
package routes
type baseData struct {
Title string
}
type pageData struct {
Base baseData
Content interface {}
}