hacks-guide-minimal-mistake.../docs
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
..
_data Improve Chinese minute_read translation in ui-text.yml 2017-09-01 09:37:13 -04:00
_docs Show 4 latest posts when site.related_posts is nil 2017-09-05 13:02:37 -04:00
_drafts Move gh-pages branch files into /docs and add test files 2016-11-03 11:52:04 -04:00
_includes Fix Liquid syntax error in feature_row include 2017-09-04 21:35:09 -04:00
_layouts Show 4 latest posts when site.related_posts is nil 2017-09-05 13:02:37 -04:00
_pages Posts by Tag (singular) (#1209) 2017-08-29 22:03:13 -04:00
_pets Move gh-pages branch files into /docs and add test files 2016-11-03 11:52:04 -04:00
_portfolio Extend grid view to the right to better fill the page 2017-08-09 13:00:33 -04:00
_posts Improve page and archive layouts (#1166) 2017-08-08 14:41:46 -04:00
_recipes Move gh-pages branch files into /docs and add test files 2016-11-03 11:52:04 -04:00
_sass Reduce amount of blank pages when printing in Chrome 2017-08-22 15:32:48 -04:00
assets Bump 💎 to 4.5.1 2017-08-18 15:19:24 -04:00
_config.dev.yml Move gh-pages branch files into /docs and add test files 2016-11-03 11:52:04 -04:00
_config.yml Remove period from Staticman commit message 2017-08-22 21:38:48 -04:00
Gemfile Add tzinfo.data gem for Windows to appease timezone error 2017-07-07 15:36:19 -04:00
screenshot-layouts.png Move gh-pages branch files into /docs and add test files 2016-11-03 11:52:04 -04:00
screenshot.png Move gh-pages branch files into /docs and add test files 2016-11-03 11:52:04 -04:00