mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
hugolib: Remove unused code
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user