hugolib: Remove unused code

This commit is contained in:
Bjørn Erik Pedersen
2018-01-25 17:08:18 +01:00
parent 4d912e2aad
commit ae5a45be6f
9 changed files with 2 additions and 105 deletions

View File

@@ -1988,10 +1988,6 @@ func (p *Page) LanguagePrefix() string {
return p.Site.LanguagePrefix
}
func (p *Page) addLangPathPrefix(outfile string) string {
return p.addLangPathPrefixIfFlagSet(outfile, p.shouldAddLanguagePrefix())
}
func (p *Page) addLangPathPrefixIfFlagSet(outfile string, should bool) string {
if helpers.IsAbsURL(outfile) {
return outfile