-
Notifications
You must be signed in to change notification settings - Fork 26.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
recent posts not showing up #1022
Comments
Duplicate of #554. See that issue for fixes:
|
`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
#554 seems to be about related post and not recent posts. I found that recent posts wouldn't show up if I forgot to change |
I had the same problem, but for me, it was because the paginate plugin wasn't configured properly. These 2 lines were commented out: paginate: 10 # amount of posts to show
paginate_path: /page:num/ Uncommented them and my posts are now listed. In case anyone has the same problem... |
Don't forget to create index.html and put ---
layout: home
--- |
I had this problem too. The solution was to ensure that index.html was in the root directory and to remove permalink from the front matter. As per here you can't use permalink in the front matter - it will break pagination. |
I read the docs again and now I'm manage to make it work. 3 files need to be changed:
|
`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 mmistakes#554 Related: mmistakes#978 mmistakes#1022
`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 mmistakes#554 Related: mmistakes#978 mmistakes#1022
`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 mmistakes#554 Related: mmistakes#978 mmistakes#1022
I am trying to migrate an earlier version of minimal mistakes to the ruby gem version which would allow me to clear out the various folders (_sass,assets etc). Most of it seems to work apart from the fact that i cant see the posts that reside within the _posts folder on the "Recent posts" section on the home page.
Having re -read the documentation, i am unable to figure out whats missing. Can you help?
The text was updated successfully, but these errors were encountered: