Added site previewing

This will generate a local version of the Hugo site and serve it via the server
This commit is contained in:
Leon Mika 2025-02-17 21:41:36 +11:00
parent 3cf4294e87
commit 68aa9c0e13
9 changed files with 61 additions and 33 deletions

View file

@ -8,6 +8,9 @@ type ThemeMeta struct {
// 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"`
}