Add empty content data that is mapped to templates

pull/1/head
Nikita Tokarchuk 2 years ago
parent edf7192fac
commit 1d970ddcd7
Signed by: mainnika
GPG Key ID: A595FB7E3E56911C
  1. 6
      frontend/content/blog.go
  2. 6
      frontend/content/error.go
  3. 6
      frontend/content/index.go

@ -0,0 +1,6 @@
package content
// Blog content data
type Blog struct {
_ interface{} `template:"blog.go.tmpl"`
}

@ -0,0 +1,6 @@
package content
// Error content data
type Error struct {
_ interface{} `template:"error.go.tmpl"`
}

@ -0,0 +1,6 @@
package content
// Index content data
type Index struct {
_ interface{} `template:"index.go.tmpl"`
}
Loading…
Cancel
Save