mirror of
https://github.com/gohugoio/hugo.git
synced 2024-09-20 01:15:13 -04:00
hubolib: Simplify map range
This commit is contained in:
parent
ff2498ee89
commit
0a0db9cd25
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ func (h *HugoSites) createMissingPages() error {
|
||||||
tax := s.Taxonomies[plural]
|
tax := s.Taxonomies[plural]
|
||||||
foundTaxonomyPage := false
|
foundTaxonomyPage := false
|
||||||
foundTaxonomyTermsPage := false
|
foundTaxonomyTermsPage := false
|
||||||
for key, _ := range tax {
|
for key := range tax {
|
||||||
for _, p := range taxonomyPages {
|
for _, p := range taxonomyPages {
|
||||||
if p.sections[0] == plural && p.sections[1] == key {
|
if p.sections[0] == plural && p.sections[1] == key {
|
||||||
foundTaxonomyPage = true
|
foundTaxonomyPage = true
|
||||||
|
|
Loading…
Reference in a new issue