mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
Renaming indexes template to indexes.html
This commit is contained in:
@ -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()
|
||||||
|
Reference in New Issue
Block a user