Load blog page data as the content

This commit is contained in:
2021-12-03 04:05:29 +01:00
parent 47029b5a4c
commit 7a694bcbe8
2 changed files with 18 additions and 0 deletions
+7
View File
@@ -1,6 +1,13 @@
package content
import (
"code.tokarch.uk/mainnika/nikita-tokarch-uk/frontend/ghost"
)
// Blog content data
type Blog struct {
_ interface{} `template:"blog.go.tmpl"`
ghost.Meta
Pinned []ghost.Post
Posts []ghost.Post
}