hugo-cms/models/theme.go
Leon Mika 68aa9c0e13 Added site previewing
This will generate a local version of the Hugo site and serve it via the server
2025-02-17 21:41:36 +11:00

17 lines
366 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
// Indicates that the theme doesn't automatically put titles on pages
AddTitleToPages bool
// Page bundle for "blog" posts
BlogPostBundle string `json:"post_dir"`
}