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 categories to blog posts #420

Conversation

iamchrissmith
Copy link
Contributor

Addresses Issue #211

This adds the categories of a blog post to the meta display just below the Posted on and Author information.

image

The categories link to the categoryview anchor tag unless it is the main blog category. This had to stay in for now since it would mess up the insertion of commas and 'and'. Since it did not have an anchor tag on the categoryview page, I liked it back to the main blog page.

@alicetragedy alicetragedy self-assigned this Sep 19, 2017
@alicetragedy
Copy link
Member

hey @iamchrissmith, I'm sorry I haven't been able to review your PR until now, it's just been very busy! I definitely have this on my list for this week, I hope to be able to take a look at it tomorrow or on Friday. Thanks so much for your patience!

Copy link
Member

@alicetragedy alicetragedy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @iamchrissmith, thank you so much for your patience and for your contribution! ✨
This looks great and I believe we can already merge it. Yay! Congrats! 🎉
A couple of small improvements I think we could make for the future (in case you're interested in contributing sometime again):

  • also show the categories on the main blog index
  • remove the space before the comma for when there's more than 2 categories (this is sort of bugging me, but I'm not sure how to fix it yet).

@alicetragedy alicetragedy merged commit 8cc3958 into rails-girls-summer-of-code:gh-pages Oct 23, 2017
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.

2 participants