ronv / sidey

Sidey is a simple and minimalistic jekyll blogging theme.
https://sidey-jekyll.netlify.app
MIT License
557 stars 201 forks source link

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

Closed mrprajesh closed 4 years ago

mrprajesh commented 4 years ago

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.

ronv commented 4 years ago

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 commented 4 years ago

Sure. Thanks @ronv.

hanarotg commented 1 year ago

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
    ---
  3. check_sites/tags/apple/index.html is created

  4. 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 commented 1 year ago

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