30 lines
		
	
	
		
			784 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			784 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package hugo
 | 
						|
 | 
						|
type permalinksConfig struct {
 | 
						|
	Page map[string]string `yaml:"page"`
 | 
						|
}
 | 
						|
 | 
						|
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"`
 | 
						|
	Permalinks   permalinksConfig `yaml:"permalinks,omitempty"`
 | 
						|
	Params       map[string]any   `yaml:"params,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"`
 | 
						|
}
 |