AngeloStavrow / indigo

An IndieWeb-friendly custom theme for Hugo
MIT License
58 stars 33 forks source link

Theme is broken on Hugo 0.57 #52

Closed AngeloStavrow closed 5 years ago

AngeloStavrow commented 5 years ago

Describe the bug As described in this hugoThemes issue, the way lists are rendered breaks in Indigo with Hugo 0.57.0; this has been temporarily rolled back in 0.57.2 but will be brought back with 0.58.

UPDATE: let's consider the following out of scope to move this forward faster ~Additionally, make sure that we're following the Hugo themes submission guidelines here.~

AngeloStavrow commented 5 years ago

There are three incidences of .Pages according to this search. The warning message we get when building Indigo on 0.57.2 is:

$ hugo server -D --disableFastRender
Building sites … WARN 2019/08/23 07:55:40 In the next Hugo version (0.58.0) we will change how $home.Pages behaves. If you want to list all regular pages, replace .Pages or .Data.Pages with .Site.RegularPages in your home page template.

It sounds like we only need to make the change in layouts/index.html, but I need to also understand how this will impact lists of posts in layouts/_default/list.html and the RSS feed in layouts/index.xml.