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

Add post tags to Lanyon #85

Closed
wants to merge 5 commits into from
Closed

Conversation

wireddown
Copy link

Partial fix for Issue 83: tags or categories on posts?

  1. Add _data/tags.yml -- storage for tags
  2. Add tags.md -- index page for all tags
  3. Add _includes/tag_collector.html -- generate tag lists
  4. Add _includes/tag_link_formatter.html -- generate tag links
  5. Add _layouts/posts_by_tag.html -- page layout for all posts with a given tag
  6. Add _tools/createTag -- create a new tag easily and safely
  7. Update index.html and _layouts/post.html to place the post's tags next to its published date
  8. Update README.md and Introducing Lanyon

Structure and implementation adapted from @minddust's post: Categories On GitHub Pages Without Plugins.

NB: With the new "Tags" item in the sidebar, the screenshots no longer match. I don't have access to a Mac, so I can't update them :-(

Based on the implementation here: http://www.minddust.com/post/tags-and-categories-on-github-pages/
Add tag index page
Add script to automate adding new tags and post indices: _tools/createTag
Update documentation and posts to use tags
Fix spelling typos
@trevordmiller
Copy link

@wireddown Nice work! I think something like this would be helpful as an option for lanyon / poole if @mdo chooses to merge this PR in or add the functionality himself.

@mdo
Copy link
Member

mdo commented Apr 19, 2015

I'll be passing on tags, thanks though!

@mdo mdo closed this Apr 19, 2015
@wireddown
Copy link
Author

Ok, no worries.

If anyone still wants tags in Lanyon, I have a feature branch here: https://github.com/wireddown/wireddown.github.io/tree/feature_tags

egan added a commit to egan/egan.github.io that referenced this pull request Jul 10, 2016
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

Successfully merging this pull request may close these issues.

None yet

3 participants