Deprecate sourceRelativeLinks

Fixes #3028
Closes #3026
Closes #2891
Closes #2691
This commit is contained in:
Bjørn Erik Pedersen
2017-02-11 16:51:22 +07:00
parent 5cc8b58907
commit 234273a5b5
4 changed files with 15 additions and 8 deletions

View File

@@ -94,6 +94,13 @@ func NewBlackfriday(c ConfigProvider) *Blackfriday {
jww.FATAL.Printf("Failed to get site rendering config\n%s", err.Error())
}
if combinedConfig.SourceRelativeLinksEval {
// Remove in Hugo 0.21
Deprecated("blackfriday", "sourceRelativeLinksEval",
`There is no replacement for this feature, as no developer has stepped up to the plate and volunteered to maintain this feature`, false)
}
return combinedConfig
}