hugo-cms/providers/hugo/config.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

24 lines
544 B
Go

package hugo
type hugoConfig struct {
BaseURL string `yaml:"baseURL,omitempty"`
LanguageCode string `yaml:"languageCode"`
Title string `yaml:"title"`
Theme string `yaml:"theme"`
CanonifyURLs bool `yaml:"canonifyURLs,omitempty"`
Markup hugoConfigMarkup `yaml:"markup"`
}
type hugoConfigMarkup struct {
Goldmark hugoGoldmarkConfig `yaml:"goldmark"`
}
type hugoGoldmarkConfig struct {
Renderer hugoGoldmarkRendererConfig `yaml:"renderer"`
}
type hugoGoldmarkRendererConfig struct {
Unsafe bool `yaml:"unsafe"`
}