Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

category and tag can not work #23

Closed
maoruibin opened this issue Feb 21, 2016 · 4 comments
Closed

category and tag can not work #23

maoruibin opened this issue Feb 21, 2016 · 4 comments

Comments

@maoruibin
Copy link

http://gudong.name/ this is my blog and use your theme . and now i meet a problem ,

when i click category and tag it point 404 , I think some place occur a problem , please give me some advice ~

thanks~

@bencentra
Copy link
Owner

How are you hosting your blog? The jekyll-archives gem that generates the category pages is not compatible with GitHub pages. See github/pages-gem#93. If you're hosting the website yourself, make sure the gem is installed.

@maoruibin
Copy link
Author

I host my blog in github https://github.com/maoruibin/maoruibin.github.com

and in local condition click category and tag is correct ~ but when i push to Github ,it does not work ~

@bencentra
Copy link
Owner

If GitHub is the actual host of your site, categories will not work because GitHub Pages does not support the gem that generates the category pages. You'll have to disable the feature. Or submit a PR with an alternative that GitHub supports 😄. For instance, I host my site on WebFaction: https://www.webfaction.com/. There I can install whatever gems I need for the site, including jekyll-archives.

For more info, see the README.

@maoruibin
Copy link
Author

Ok i think i have know the problem and thanks your advice~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants