Open bethschechter opened 10 years ago
So then we would add some code to a chapter's page (such as maptime.github.io/nullisland) that would only show blog posts for that chapter's category.
We need to make sure that there is a fixed and URL-friendly slug for each local chapter. This slug could potentially be saved in the master geojson file.
Categories have been added; no tags yet.
@geografa what is the differentiation between the posts
and events
layouts?
@rhewitt22 Not much, it's a holdover from the starter repo. Events are like blog posts except they have RSVP links.
How do the rsvp links work? Are they just URLs? Could just use an event
front matter variable that is conditionally displayed.
I generally try to keep layouts to a minimum because they're like pringles -- once you pop you just can't stop.
Ha. True. If an event page has a rsvp
in the yml then it gets displayed. Each MD file in _posts should contain a category that determines what kind of post it is. I think we'll get more utility out of this as we grow (i.e. blog, event, tutroial, etc.).
@bethschechter back to original intent of this issue: was this for having chapter's blog posts on the front page? We could still stream blog post through a feed of some sort. Perhaps we need another ticket to hammer out what exactly we want on the yml Front matter.
@geografa That's what I was thinking -- they're all posts, just of different categories.
I can't say that I've seen anything for consuming RSS into posts for jekyll. If it's possible it would probably be done through a _plugin
which are disabled on github pages as Jekyll is run with the --safe
flag. The other option would be to use the GitHub API, but to stay on top of all the chapters popping up that wouldn't be a fun task to maintain. Chapters that build their page within this repo would give you the ability to grab their posts out of the box.
Could we add like a 'posts-path' attribute to the chapters json, since that has to be maintained anyway?
On Mon, Oct 20, 2014 at 10:02 AM, Roy Hewitt notifications@github.com wrote:
@geografa https://github.com/geografa That's what I was thinking -- they're all posts, just of different categories.
I can't say that I've seen anything for consuming RSS into posts for jekyll. If it's possible it would probably be done through a _plugin which are disabled on github pages as Jekyll is run with the --safe flag. The other option would be to use the GitHub API, but to stay on top of all the chapters popping up that wouldn't be a fun task to maintain. Chapters that build their page within this repo would give you the ability to grab their posts out of the box.
— Reply to this email directly or view it on GitHub https://github.com/maptime/maptime.github.io/issues/18#issuecomment-59798301 .
This ticket may be getting a little spread out. We know have categories for all posts so I think we can close this. The issue of slugs/paths for each chapter is a different one so maybe somebody can open a ticket on that. @bethschechter good to close?
@geografa We should make sure the other sub-issues are added as issues before we close. :)
Possible workaround for implementing tags in a gh-pages hosted jekyll site.
http://www.minddust.com/post/tags-and-categories-on-github-pages/
Used the example in the above post to prototype this
We could also just adapt and use the existing tags we've created for tutorials if we don't want to keep two separate lists of tags
As a way to sort chapter blog posts by chapter. @reidab already updated the site so that categories are enabled. cc @geografa