Comments (12)
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.
from maptime.github.io.
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.
from maptime.github.io.
Categories have been added; no tags yet.
@geografa what is the differentiation between the posts
and events
layouts?
from maptime.github.io.
@rhewitt22 Not much, it's a holdover from the starter repo. Events are like blog posts except they have RSVP links.
from maptime.github.io.
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.
from maptime.github.io.
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.
from maptime.github.io.
@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.
from maptime.github.io.
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 [email protected]
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
#18 (comment)
.
from maptime.github.io.
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?
from maptime.github.io.
@geografa We should make sure the other sub-issues are added as issues before we close. :)
from maptime.github.io.
Possible workaround for implementing tags in a gh-pages hosted jekyll site.
http://www.minddust.com/post/tags-and-categories-on-github-pages/
from maptime.github.io.
Used the example in the above post to prototype this
- Example of a tagged blog post - http://brandonknight.net/sandbox/blog/2015/04/27/help-HOT/
- Tags link to pages like this - http://brandonknight.net/sandbox/blog/tag/openstreetmap/
- To tag a post, just add a tag name array to the frontmatter like this
- To add new tags, you need to add
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
from maptime.github.io.
Related Issues (20)
- Update TeachOSM link
- Better links to "Start a chapter" HOT 3
- "Maptime in the wild" map HOT 2
- Markercluster style on clusters >10 HOT 3
- City name in chapters list HOT 1
- "In the media" page
- Remove "Setting up your chapter’s website" page HOT 2
- add PDX meetup link to chapters.json HOT 1
- Prevent empty chapter pages
- Chapter email info
- HTML validation errors HOT 3
- Add jekyll-feed plugin to generate an Atom feed HOT 1
- Large images are a drag on performance
- Followers panel does not grow to contain it's children (GitHub avatars)
- Maptime stickers! HOT 1
- Dependencies bump HOT 1
- Enable (and force) HTTPS HOT 3
- resources : french translation of Anatomy of a Web Map is not available HOT 1
- what is the activity status of this project HOT 1
- Basemap in chapter map no longer loads HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maptime.github.io.