chesterhow / tale

Minimal Jekyll theme for storytellers
http://chesterhow.github.io/tale
MIT License
966 stars 880 forks source link

Github Method doesn't seem to work for my forked theme #86

Closed antonostrovsky closed 4 years ago

antonostrovsky commented 4 years ago

First of all, thank you for the great theme. I am having problems understanding the instructions in the GitHub Pages method, and I am not even sure if it is applicable to me:

I am using Github Pages I can't get Jekyll to render a page behind a link. I am using the following fork of Tale: https://github.com/antonostrovsky/tale

If I clone the template into a local repo and run bundle exec jekyll serve I get a page with a Contact link that I can successfully follow. The generated _site folder contains a subfolder 'contact' with index.html within it.

I then create an empty repository (https://github.com/antonostrovsky/test_site) at Github and specify this template in _config.yml:

remote_theme: antonostrovsky/tale

The template is successfully rendered, I can see the template on the index page (https://antonostrovsky.github.io/test_site/), BUT the Contact link leads to nowhere, resulting in "Not Found" error.

I think I have followed the 'Github Pages' method correctly: my theme repository has 'Gemfile', and the _config.yml contains references to the necessary jekyll gems.

Would you be so kind and help me understand why this is happening?

I have already posted a question on Stack Overflow with a bounty, and went to Jekyll IRC - nobody seems to know what is happening.

Thank you in advance

antonostrovsky commented 4 years ago

Turns out that I also had to have a copy of /pages/contact.md in the repository that references tale as the theme