thomasvaeth/trophy-jekyll

category

Opened this issue · 7 comments

category

When i click category and post then, It doesn't work.
please can you tell me how to work?

Give more info about your website and the content of your posts

a-ad commented

Ok here's my website, and I am having the same issue: https://a-ad.github.io/book-review/

From my debugging I think it is because the github-pages ruby package runs in safe mode and the category plugins does not work

It seems that github compiles the pages in safe mode itself and which is why the custom ruby plugin won't work

Ok here's my website, and I am having the same issue: https://a-ad.github.io/book-review/

From my debugging I think it is because the github-pages ruby package runs in safe mode and the category plugins does not work

It seems that github compiles the pages in safe mode itself and which is why the custom ruby plugin won't work

Hi a-ad,
I see you have resolved the issue. May I ask how? I have the same issue right now.

a-ad commented

Fixed it using this rakefile to push the build folder to the gh-pages branch and use that for my deployment

The easiest solution is to stop using gh-pages and just sync your repo to Netlify. This theme is really old. I have better deployment documentation on a newer theme – https://github.com/samesies/barber-jekyll#deployment.

Fixed it using this rakefile to push the build folder to the gh-pages branch and use that for my deployment

Thank you a-ad. This is a great solution as you don't have to keep 2 repositories for your site.
As a-ad mentioned, github pages is performing a safe jekyll build, so the plugin functionality is not being included. One would have to build the site locally and have github publish the locally built site.
Read this article for more:
https://www.sitepoint.com/jekyll-plugins-github/