mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-26 22:04:32 +02:00
hugolib: Remove unnecessary params
Found by github.com/mvdan/unparam
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
a2ec372a03
commit
4bfa189031
@@ -22,7 +22,7 @@ import (
|
||||
// filename.
|
||||
type Translations map[string]*Page
|
||||
|
||||
func pagesToTranslationsMap(ml *Multilingual, pages []*Page) map[string]Translations {
|
||||
func pagesToTranslationsMap(pages []*Page) map[string]Translations {
|
||||
out := make(map[string]Translations)
|
||||
|
||||
for _, page := range pages {
|
||||
|
Reference in New Issue
Block a user