hacks-guide-minimal-mistake.../docs/_layouts
Michael Rose 2080469952 Show 4 latest posts when site.related_posts is nil
`site.related_posts` should return an array of latest posts when no related ones are found due to `lsi` being disabled (GitHub Page's doesn't support it).

This works around that bug by showing the 4 latest posts to populate the "You May Also Enjoy" module when enabled with `related: true`.

Fixes #554
Related: #978 #1022
2017-09-05 13:02:37 -04:00
..
archive-taxonomy.html Move gh-pages branch files into /docs and add test files 2016-11-03 11:52:04 -04:00
archive.html Add video header support to archive and splash layouts 2017-01-24 10:09:22 -05:00
compress.html Move gh-pages branch files into /docs and add test files 2016-11-03 11:52:04 -04:00
default.html Bump 💎 to 4.5.1 2017-08-18 15:19:24 -04:00
home.html Replace base_path with absolute_url filter 2016-11-04 12:50:03 -04:00
single.html Show 4 latest posts when site.related_posts is nil 2017-09-05 13:02:37 -04:00
splash.html Replace modified with last_modified_at (#930) 2017-04-04 09:12:32 -04:00