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

Tag page on gh-page not working but works locally #5

Closed
mrprajesh opened this issue Mar 27, 2020 · 4 comments
Closed

Tag page on gh-page not working but works locally #5

mrprajesh opened this issue Mar 27, 2020 · 4 comments

Comments

@mrprajesh
Copy link

mrprajesh commented Mar 27, 2020

Thanks for the nice theme.
I have used sidey theme to create a blog at www.mrprajesh.github.io/blog which has base url /blog
The problem is when I am clicking on the tag name at a post (say here) ends up in a 404 error at gh-pages. This works perfectly fine when I tested locally. Can you suggest what could be wrong here?

The source is here

Thanks in advance.

@mrprajesh mrprajesh changed the title Tag page on gh-page not working but work locally Tag page on gh-page not working but works locally Mar 27, 2020
@ronv
Copy link
Owner

ronv commented Mar 31, 2020

Hi, Sidey theme have tag plugin under _plugins directory. Github pages doesn't support plugins. If you want to use tags I would suggest netlify.
Best,
R

@mrprajesh
Copy link
Author

Sure. Thanks @ronv.

@hanarotg
Copy link

hanarotg commented Feb 6, 2023

Use tag page hosted in github page with sidey

  1. create markdown file (e.g. tags-apple.md) in _pages
    (feel free to make markdown file in custom dir under _pages)

  2. edit tags-apple.md and save

---
title : "apple"
permalink : "/tags/apple/"
tag : apple
layout : tag
---
  1. check_sites/tags/apple/index.html is created

  2. you may use /tags/apple/ as tag page link in github page

There may be something missing or wrong steps above. Let me know if there's anything I can improve on.

example) my github blog : repository

@mrprajesh
Copy link
Author

Thanks, @hanarotg for a great suggestion. I adopted a simpler way to make that work.

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

3 participants