I have number of posts on _posts. Post file have pattern like below
├── _posts
│ ├── 2016-10-02-SomeContent.md
│ ├── 2016-10-03-AnotherContent.md
On my local machine (ubuntu 16.04 LTS) If I prefix my post file name which future date like 2017-10-03-FutureContent.md the post with future date prefixed is not shown.
I'm using bundle exec jekyll serve to run the project
But when I push it to Github it's visible and shows the posted date as future date.
Using this theme
Why can't I see the post on my local machine but when pushed to Github it is visible?
You should serve with:
bundle exec jekyll serve --future
The reason why it's available on GitHub is because: GitHub's pages-gem enables the future flag
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With