diff options
author | Bert Heymans <bert.heymans@gmail.com> | 2017-03-06 17:33:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-06 17:33:10 +0300 |
commit | 329d0e9bc3111aa4821d7d17bedc5f0bb95cd380 (patch) | |
tree | 83440f752a36ef92460401172511685d49bc1b10 /layouts/partials/widgets/recent_articles.html | |
parent | ee3b7816ad9bcca1ecd4926e0e4857e8d1d9d3b5 (diff) |
fix to use new 0.18.0 RegularPages variable
The theme generated an extra item in the list for every directory in the content because everything is a Page since 0.18.0. Suggested update is to use .Site.RegularPages instead of .Site.Pages to loop over so the theme keeps working in the same way as it did before 0.18.0.
See details https://github.com/spf13/hugo/blob/afb3334ed8972a845c4f46cf225d6783bfc12e3f/docs/content/meta/release-notes.md#0180-december-19th-2016
Diffstat (limited to 'layouts/partials/widgets/recent_articles.html')
0 files changed, 0 insertions, 0 deletions