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

please support tags without need plugins to make github pages support tags #867

Closed
guileen opened this Issue Mar 17, 2013 · 19 comments

Comments

Projects
None yet
10 participants
@guileen

guileen commented Mar 17, 2013

github use jekyll but disable plugins,can't generate tag pages, please support tag officially, so next time github upgrade Jekyll, github pages could support tags

@parkr

This comment has been minimized.

Show comment
Hide comment
@parkr

parkr Mar 17, 2013

Member

Jekyll does support tags! I'm not sure what your request is asking. We have to disable all custom plugins.

Member

parkr commented Mar 17, 2013

Jekyll does support tags! I'm not sure what your request is asking. We have to disable all custom plugins.

@parkr parkr closed this Mar 17, 2013

@ixti

This comment has been minimized.

Show comment
Hide comment
@ixti

ixti Mar 17, 2013

Member

@parkr I believe @guileen was asking to provide an official plugin (core built-in) that will allow to generate tag pages (e.g. /tags/ruby) that contains list of posts with specified tag. Something like this one (I use for myself): https://github.com/ixti/ixti.github.com/blob/source/_plugins/tags.rb

Member

ixti commented Mar 17, 2013

@parkr I believe @guileen was asking to provide an official plugin (core built-in) that will allow to generate tag pages (e.g. /tags/ruby) that contains list of posts with specified tag. Something like this one (I use for myself): https://github.com/ixti/ixti.github.com/blob/source/_plugins/tags.rb

@parkr

This comment has been minimized.

Show comment
Hide comment
@parkr

parkr Mar 17, 2013

Member

Ah, ok cool. I'm deferring to @mojombo for all extra plugins but please open a PR with a suggestion so we can get something in there if he thinks that'd be a useful feature! :)

Member

parkr commented Mar 17, 2013

Ah, ok cool. I'm deferring to @mojombo for all extra plugins but please open a PR with a suggestion so we can get something in there if he thinks that'd be a useful feature! :)

@ixti

This comment has been minimized.

Show comment
Hide comment
@ixti

ixti Mar 17, 2013

Member

If @mojombo accepts this idea - I can refactor my plugin to meet Jekyll code styles and provide a pull request.

Member

ixti commented Mar 17, 2013

If @mojombo accepts this idea - I can refactor my plugin to meet Jekyll code styles and provide a pull request.

@ixti

This comment has been minimized.

Show comment
Hide comment
@ixti

ixti Mar 17, 2013

Member

Or I can open a pull request with my plugins (without tests) just to start a discussion.

Member

ixti commented Mar 17, 2013

Or I can open a pull request with my plugins (without tests) just to start a discussion.

@guileen

This comment has been minimized.

Show comment
Hide comment
@guileen

guileen Mar 17, 2013

👍 🆒

guileen commented Mar 17, 2013

👍 🆒

@parkr

This comment has been minimized.

Show comment
Hide comment
@parkr

parkr Mar 17, 2013

Member

Sounds like a plan!

Member

parkr commented Mar 17, 2013

Sounds like a plan!

@sl4mmy

This comment has been minimized.

Show comment
Hide comment
@sl4mmy

sl4mmy Mar 17, 2013

This is unnecessary since @parkr merged #863. Add a second config file that enables the plugins you need to generate tag pages, build your site locally using that config file, then push the generated content up to GitHub Pages as static files.

sl4mmy commented Mar 17, 2013

This is unnecessary since @parkr merged #863. Add a second config file that enables the plugins you need to generate tag pages, build your site locally using that config file, then push the generated content up to GitHub Pages as static files.

@ixti

This comment has been minimized.

Show comment
Hide comment
@ixti

ixti Mar 17, 2013

Member

@sl4mmy the thing is that building tags/categories pages are safe task in fact. And it's really often desired, so this could save people some time to have this feature as part of the core while keep jekyll safe to be executed on github pages.

Member

ixti commented Mar 17, 2013

@sl4mmy the thing is that building tags/categories pages are safe task in fact. And it's really often desired, so this could save people some time to have this feature as part of the core while keep jekyll safe to be executed on github pages.

@sl4mmy

This comment has been minimized.

Show comment
Hide comment
@sl4mmy

sl4mmy Mar 17, 2013

@ixti I never said it would be unsafe, I just said it's unnecessary.

sl4mmy commented Mar 17, 2013

@ixti I never said it would be unsafe, I just said it's unnecessary.

@ixti

This comment has been minimized.

Show comment
Hide comment
@ixti

ixti Mar 17, 2013

Member

@sl4mmy I never said that you said... :D I totally agree with you that it's trivial to have blog compiled locally and then pushed elsewhere (I do this with my blog as I use my very own plugin for assets pipelines). But it's not for lots of people and this feature is desired by lots of bloggers AFAIK.

In other words, I believe that if something can provide more features without making code bloated that's good :D
Anyway, please post any following posts in a pull request.

Member

ixti commented Mar 17, 2013

@sl4mmy I never said that you said... :D I totally agree with you that it's trivial to have blog compiled locally and then pushed elsewhere (I do this with my blog as I use my very own plugin for assets pipelines). But it's not for lots of people and this feature is desired by lots of bloggers AFAIK.

In other words, I believe that if something can provide more features without making code bloated that's good :D
Anyway, please post any following posts in a pull request.

@brandonparsons

This comment has been minimized.

Show comment
Hide comment
@brandonparsons

brandonparsons Sep 9, 2013

While it is easy for some people to build locally and push up as static pages, I want to set up some non-technically-savvy folks with a Github pages blog via Prose.io.

I'd like for them to be able to have a tags page, and not have to compile their sites myself. This seems like a decent option for a built-in plugin....

brandonparsons commented Sep 9, 2013

While it is easy for some people to build locally and push up as static pages, I want to set up some non-technically-savvy folks with a Github pages blog via Prose.io.

I'd like for them to be able to have a tags page, and not have to compile their sites myself. This seems like a decent option for a built-in plugin....

@parkr

This comment has been minimized.

Show comment
Hide comment
@parkr

parkr Sep 9, 2013

Member

@brandonparsons I discussed this very idea with @mattr-, @mojombo, and @benbalter but there is too much overhead for this and GH can't allow the execution of arbitrary Ruby on its servers (for obvious security reasons).

We thought about creating a jekyll-gh-pages-plugins gem which would contain "blessed" plugins which would be usable on GitHub Pages. The problem with this solution, however, is that it puts an incredible code review load on the maintainers and is definitely not scalable.

I would highly suggest jekyll-hook as an alternative to the GH Pages build engine.

Member

parkr commented Sep 9, 2013

@brandonparsons I discussed this very idea with @mattr-, @mojombo, and @benbalter but there is too much overhead for this and GH can't allow the execution of arbitrary Ruby on its servers (for obvious security reasons).

We thought about creating a jekyll-gh-pages-plugins gem which would contain "blessed" plugins which would be usable on GitHub Pages. The problem with this solution, however, is that it puts an incredible code review load on the maintainers and is definitely not scalable.

I would highly suggest jekyll-hook as an alternative to the GH Pages build engine.

@minddust

This comment has been minimized.

Show comment
Hide comment
@minddust

minddust Aug 3, 2014

Contributor

I had the same problem and came up with a workaround with little overhead and no need of a plugin:

article and live demo
http://www.minddust.com/post/tags-and-categories-on-github-pages/

implementation source
https://github.com/minddust/minddust.github.io

Contributor

minddust commented Aug 3, 2014

I had the same problem and came up with a workaround with little overhead and no need of a plugin:

article and live demo
http://www.minddust.com/post/tags-and-categories-on-github-pages/

implementation source
https://github.com/minddust/minddust.github.io

@neo-art

This comment has been minimized.

Show comment
Hide comment
@neo-art

neo-art Oct 2, 2014

Hi @minddust ,

I was looking for working "no-plugin" solution to list the tags and categories in my blog sidebar.
Going to try your way. Do you have a similar guide for the category pages? :)

neo-art commented Oct 2, 2014

Hi @minddust ,

I was looking for working "no-plugin" solution to list the tags and categories in my blog sidebar.
Going to try your way. Do you have a similar guide for the category pages? :)

@minddust

This comment has been minimized.

Show comment
Hide comment
@minddust

minddust Oct 2, 2014

Contributor

hi @neo-art,
categories work analog to tags - just checkout my implementation for sample source.
hf coding 🍻

Contributor

minddust commented Oct 2, 2014

hi @neo-art,
categories work analog to tags - just checkout my implementation for sample source.
hf coding 🍻

@neo-art

This comment has been minimized.

Show comment
Hide comment
@neo-art

neo-art Oct 3, 2014

Will do. Thank you @minddust 👍

neo-art commented Oct 3, 2014

Will do. Thank you @minddust 👍

@wireddown

This comment has been minimized.

Show comment
Hide comment
@wireddown

wireddown Jan 25, 2015

For commenters that are using pure gh-pages without plugins, I have a changeset that adds tags to poole/lanyon influenced by @minddust's implementation.

If you're using a different Jekyll theme, you can:

  1. use items 1..6 (which add new files)
  2. apply item 7 for your theme
  3. ignore item 8 (which is Lanyon documentation)

wireddown commented Jan 25, 2015

For commenters that are using pure gh-pages without plugins, I have a changeset that adds tags to poole/lanyon influenced by @minddust's implementation.

If you're using a different Jekyll theme, you can:

  1. use items 1..6 (which add new files)
  2. apply item 7 for your theme
  3. ignore item 8 (which is Lanyon documentation)
@MrLoh

This comment has been minimized.

Show comment
Hide comment
@MrLoh

MrLoh Jun 15, 2015

I have a GitHub Pages compatible completley automated date and tag archive solution, also inspired by @minddust. It works with creating files locally with a ruby script. Have a look at my blog: http://mrloh.se/2015/06/automatic-archives-for-jekyll-on-github-pages/

MrLoh commented Jun 15, 2015

I have a GitHub Pages compatible completley automated date and tag archive solution, also inspired by @minddust. It works with creating files locally with a ruby script. Have a look at my blog: http://mrloh.se/2015/06/automatic-archives-for-jekyll-on-github-pages/

@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.