Why my jekyll blog on github not work? - jekyll

http://chenge.github.io, I can see the index page, show 'Hi'. But after I modified the page with 'Hi 3', it did not updated.
repo at: https://github.com/chenge/chenge.github.io
Thanks for help

Your Jekyll blog must be at the root of your repository, not in a blog folder.
Edit :
If you want to store Jekyll files in blog, your have to move your _config.yml at the root of your repository and change it like this :
source: "blog/"
baseurl: ""
Edit 2 :
I just saw that you cannot configure the source folder on github pages.

Related

files in the root of a jekyll theme not copying over to where that theme is used

I have a jekyll theme (https://github.com/godalming123/matirlize-jekyll-theme) and I use it in (https://github.com/godalming123/blog) however in the jekyll theme I have a service worker located in the root of the theme with
---
---
at the begining.
However this ./sw.js file does not appear in the github pages site for https://github.com/godalming123/blog
Help would be appreciated many thanks

Jekyll blog published on github pages with project url

I have created a default jekyll blog and published it to this repo.
The problem is that my blog is hosted on https://deivyd321.github.io/deivydas.github.io/
but not on https://deivyd321.github.io
How can I fix this?
Try setting the url and baseurl in the _config.yml file like so:
url: 'https://deivyd321.github.io'
baseurl: ''

Jekyll custom theme not working on Github pages

I have a jekyll site that I want to deploy as github-pages. It works fine standalone but fails to build within github-pages with the include error from _index.html. I don't even have an _include directory. I am using the minimal-mistakes theme. I have slimmed down my site to the bare bones it can be found at https://github.com/laredo/mm-jekyll
The exact error is: A file was included in index.html that is a symlink or does not exist in your _includes directory.
https://github.com/laredo/mm-jekyll/blob/master/index.html
Looking for suggestions to successfully build the site
In your _config.yml
delete theme: minimal-mistakes-jekyll
add remote_theme: mmistakes/minimal-mistakes
enable jekyll-include-cache in the plugins configuration
Plugins config is now :
plugins:
- jekyll-feed
- jekyll-include-cache
I have a blog based on Jekyll and Minimal Mistakes. It's already hosted in github-pages. I don't know how you started your project, but what worked to me was just clone the minimal mistakes Github repository and change the _config.yml.

Can not find post file in github by using jekyll

This is my github pages . I have already create gh-pages brench.
I want to create markdown file and use jekyll to convert it to .html file.
It can be successfully shown on my localhost.
(auto-generate _site and .html pages)
But I upload the whole directory to github .
The index file can be loaded , but post file cannot.
(click the post link,it show 404 error page.)
What happened to this ?
This is my jekyll github link:
https://github.com/larrywhy/jekylldemo/blob/gh-pages/index.html
This is my pages:
http://larrywhy.github.io/jekylldemo/
At _config.yml file, change the baseurl from "/jekyll_demo" to "/jekylldemo".
You misspelled.

Jekyll doesn't find _layouts default.html

I just got started with Jekyll, I trying to get it working on my Github site, it loads all posts as it should but it doesn't load the _layouts default.html. As far as I know I have all of the necessary files.
The Jekyll blog
The source code
Anyone that can explain whats going on?
Try moving your _config.yml file from the /blog/ subdirectory to the root directory of the repository, and then add this line to the file:
source: /blog/