I have created a blog using Jekyll now theme. And I've created repo in github to publish the blog. But the posts are not showing in github pages.
Asked
Active
Viewed 1,123 times
0
-
Did you build out the pages before pushing back to your repo? – tadman May 04 '16 at 00:24
-
2Duplicate of http://stackoverflow.com/questions/30625044/jekyll-post-not-generated. Your post date was in the future. Set you time_zone in _config.yml and republish. – David Jacquel May 04 '16 at 04:25
2 Answers
2
In my case the blog post time was a future date (due to timezone mismatch) hence it was not published though _posts folder had my markdown file
executing 'jekyll build' will give the same message
sachinms@MS:/my-new-blog/my-personal-blog$ jekyll build
Configuration file: /my-new-blog/my-personal-blog/_config.yml
Theme Config file: /home/sachinms/gems/gems/jekyll-theme-chirpy-4.0.1/_config.yml
Source: /my-new-blog/my-personal-blog
Destination: /my-new-blog/my-personal-blog/_site
Incremental build: disabled. Enable with --incremental
Generating...
Skipping: _posts/2021-07-17-Minimal-API-ASPNET-6.md has a future date
done in 0.38 seconds.
Auto-regeneration: disabled. Use --watch to enable.

Sachin M S
- 31
- 4
0
you must post added _post directory and post name must be year-mouth-day-post_name.md format
after on the blog main directory run command bundle exec jekyll build or jekyll build and push remote repo.

kaanosman
- 11
- 3