`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 |
||
|---|---|---|
| .. | ||
| _data | ||
| _docs | ||
| _drafts | ||
| _includes | ||
| _layouts | ||
| _pages | ||
| _pets | ||
| _portfolio | ||
| _posts | ||
| _recipes | ||
| _sass | ||
| assets | ||
| _config.dev.yml | ||
| _config.yml | ||
| Gemfile | ||
| screenshot-layouts.png | ||
| screenshot.png | ||