More work on indexes

This commit is contained in:
spf13 2013-10-31 09:49:29 -04:00
parent bc7c9221f3
commit a7dae30a8f
2 changed files with 20 additions and 8 deletions

View file

@ -452,7 +452,8 @@ func (s *Site) RenderIndexesIndexes() (err error) {
n.Data["Singular"] = singular
n.Data["Plural"] = plural
n.Data["Index"] = s.Indexes[plural]
n.Data["OrderedIndex"] = s.Info.Indexes[plural]
// keep the following just for legacy reasons
n.Data["OrderedIndex"] = s.Indexes[plural]
err := s.render(n, plural+"/index.html", layout)
if err != nil {