trophy-jekyll icon indicating copy to clipboard operation
trophy-jekyll copied to clipboard

category

Open chimaek opened this issue 6 years ago • 7 comments

chimaek avatar Oct 19 '18 14:10 chimaek

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

chimaek avatar Oct 19 '18 14:10 chimaek

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

lukalafaye avatar Feb 08 '19 21:02 lukalafaye

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

a-ad avatar Apr 03 '19 02:04 a-ad

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.

icarusoars avatar Oct 20 '19 17:10 icarusoars

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

a-ad avatar Oct 20 '19 18:10 a-ad

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.

thomasvaeth avatar Oct 20 '19 18:10 thomasvaeth

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/

icarusoars avatar Oct 21 '19 00:10 icarusoars