2025-02-01 04:36:35 +00:00
|
|
|
package hugo
|
|
|
|
|
|
|
|
type hugoConfig struct {
|
|
|
|
BaseURL string `yaml:"baseURL,omitempty"`
|
|
|
|
LanguageCode string `yaml:"languageCode"`
|
|
|
|
Title string `yaml:"title"`
|
|
|
|
Theme string `yaml:"theme"`
|
2025-02-17 10:41:36 +00:00
|
|
|
CanonifyURLs bool `yaml:"canonifyURLs,omitempty"`
|
2025-02-01 04:36:35 +00:00
|
|
|
|
|
|
|
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"`
|
|
|
|
}
|