aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/config.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2019-08-16 15:55:03 +0200
committerBjørn Erik Pedersen <[email protected]>2019-11-06 19:09:08 +0100
commit5f6b6ec68936ebbbf590894c02a1a3ecad30735f (patch)
treef6c91e225a3f24f51af1bde5cfb5b88515d0665d /hugolib/config.go
parent366ee4d8da1c2b0c1751e9bf6d54638439735296 (diff)
downloadhugo-5f6b6ec68936ebbbf590894c02a1a3ecad30735f.tar.gz
hugo-5f6b6ec68936ebbbf590894c02a1a3ecad30735f.zip
Prepare for Goldmark
This commmit prepares for the addition of Goldmark as the new Markdown renderer in Hugo. This introduces a new `markup` package with some common interfaces and each implementation in its own package. See #5963
Diffstat (limited to 'hugolib/config.go')
-rw-r--r--hugolib/config.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/hugolib/config.go b/hugolib/config.go
index 35724ec41..8a9c42b3c 100644
--- a/hugolib/config.go
+++ b/hugolib/config.go
@@ -564,11 +564,6 @@ func (configLoader) mergeStringMapKeepLeft(rootKey, key string, v1, v2 config.Pr
func loadDefaultSettingsFor(v *viper.Viper) error {
- c, err := helpers.NewContentSpec(v)
- if err != nil {
- return err
- }
-
v.RegisterAlias("indexes", "taxonomies")
/*
@@ -616,7 +611,6 @@ func loadDefaultSettingsFor(v *viper.Viper) error {
v.SetDefault("paginate", 10)
v.SetDefault("paginatePath", "page")
v.SetDefault("summaryLength", 70)
- v.SetDefault("blackfriday", c.BlackFriday)
v.SetDefault("rssLimit", -1)
v.SetDefault("sectionPagesMenu", "")
v.SetDefault("disablePathToLower", false)