Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBlogName ¶
func GetPostTitle ¶
func NewConfigSite ¶
func NewConfigSite() *shared.ConfigSite
func StartApiServer ¶
func StartApiServer()
Types ¶
type BlogPageData ¶
type ListHooks ¶
type ListHooks struct {
Cfg *shared.ConfigSite
Db db.DB
}
func (*ListHooks) FileMeta ¶
func (p *ListHooks) FileMeta(data *filehandlers.PostMetaData) error
func (*ListHooks) FileValidate ¶
func (p *ListHooks) FileValidate(data *filehandlers.PostMetaData) (bool, error)
type PostItemData ¶
type PostPageData ¶
type ReadPageData ¶
type ReadPageData struct {
Site shared.SitePageData
NextPage string
PrevPage string
Posts []PostItemData
Tags []string
HasFilter bool
}
type TransparencyPageData ¶
type TransparencyPageData struct {
Site shared.SitePageData
Analytics *db.Analytics
}
Click to show internal directories.
Click to hide internal directories.