简体   繁体   中英

jekyll tag plugin works offline but not on github pages

There might seem to be other dupes like this, but this SO post is the closest with a hacky solution.

I got a theme that uses the tag plugin from here : http://charliepark.org/tags-in-jekyll/ Here is my site repo on github . It's hosted here : http://www.gideondsouza.com

Tags don't work online but work offline. On my local machine I see a _/site/tag/.. with folders for each tag. But this tag folder isn't generated on github? In fact I don't even see a _site folder, so maybe my understanding is off. Perhaps I need to install the github-pages gem?

I could probably fix it like in the SO post mentioned earlier, but this is hacky, I will always have to remember to copy the generated tags folder into the root.

Anything I'm missing?

Github pages only support selected plugins ( see documentation here ).

If you want to use your plugin, you have to generate locally and to push the _site content online.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM