hugo-cms/models/theme.go

14 lines
272 B
Go

package models
type ThemeMeta struct {
ID string `json:"id"`
Name string `json:"name"`
URL string `json:"repo"`
// Indicates that this theme prefers posts have titles.
PreferTitle bool
// Page bundle for "blog" posts
BlogPostBundle string `json:"post_dir"`
}