Reputation: 5730
I followed really really simple tutorial to make my own github
blog using jekyll
.
Here is what I simlely do:
In my local computer directory,
jekyll new my-awesome-site
bundle exec jekyll serve
Create the repository for the blog in github, named abc.github.io, which is https://github.com/abc/abc.github.io
as this thread indicates
Push my blog dir to the github remote repository.
Go to Settings
and change the name of repo to abc.github.io
This is my settings and it shows that my site is published!
[![enter image description here][1]][1]
It's been 24hours after I've seen this msg and browser still doesn't shows even sample page!
[![enter image description here][2]][2]
What's wrong with it?
Need your helps and advices Thanks!
Upvotes: 1
Views: 206
Reputation: 27878
You are seeing this issue because the Architect theme has a different structure than the default theme, and Jekyll is not able to build the website after you push because of a missing layout.
For instance, in your index.md file you are referencing a layout called home
, but as you can see in the Architect's theme source code, it only has one layout, called default
.
If you change your index.md
to point to the default
layout, it will render correctly the structure of the main page.
You'll have to check other layouts as well, in posts, etc. The best is to follow the instructions described in the theme you want to implement, in this case the Architect: https://github.com/pages-themes/architect
ps: You also need to delete the folder _site
(and commit it) and make sure you have it in the .gitignore
so it doesn't get committed again in the future.
Upvotes: 1