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

Combine tagsUrlSafe and tagsCollection into one property #38

Merged
merged 3 commits into from
Sep 25, 2016

Conversation

jarodtaylor
Copy link
Collaborator

This commit combines the tagsCollection and tagsUrlSafe properties into one property, named by the plugin option handle, or "tags" by default.

The tags property will now return an array containing an object with a name and slug property that can be used like so:

{{#each tags as |tag| }}
  <a href="{{tag.slug}}">{{tag.name}}</a>
{{/each}}

As discussed in #34, this would be a breaking change, that would be held onto until the next major release.

Jarod Taylor and others added 3 commits September 13, 2016 22:46
@hswolff
Copy link
Collaborator

hswolff commented Sep 25, 2016

This looks great! Gonna merge and bump version number.

@hswolff hswolff merged commit 3344f28 into totocaster:master Sep 25, 2016
@hswolff
Copy link
Collaborator

hswolff commented Sep 25, 2016

Published as 2.0.0

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