mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 18:39:55 -04:00
Renaming indexes template to indexes.html
This commit is contained in:
parent
21a7b72535
commit
dff86cb22c
@ -355,7 +355,7 @@ func (s *Site) RenderIndexes() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *Site) RenderIndexesIndexes() {
|
func (s *Site) RenderIndexesIndexes() {
|
||||||
layout := "indexes" + slash + "index.html"
|
layout := "indexes" + slash + "indexes.html"
|
||||||
if s.Tmpl.Lookup(layout) != nil {
|
if s.Tmpl.Lookup(layout) != nil {
|
||||||
for singular, plural := range s.c.Indexes {
|
for singular, plural := range s.c.Indexes {
|
||||||
n := s.NewNode()
|
n := s.NewNode()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user