This will generate a local version of the Hugo site and serve it via the server
17 lines
366 B
Go
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"`
|
|
}
|