refactor: common base template for pages
will allow to add common header and stuff
This commit is contained in:
10
routes/base_page.go
Normal file
10
routes/base_page.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package routes
|
||||
|
||||
type baseData struct {
|
||||
Title string
|
||||
}
|
||||
|
||||
type pageData struct {
|
||||
Base baseData
|
||||
Content interface {}
|
||||
}
|
||||
Reference in New Issue
Block a user