Skip to content

Hidden licenses - #274

Merged
benbalter merged 1 commit into
gh-pagesfrom
hidden-licenses
Aug 7, 2015
Merged

benbalter merged 1 commit into
gh-pagesfrom
hidden-licenses

Conversation

@benbalter

Copy link
Copy Markdown
Contributor

This pull request implements the "hidden license" functionality as described in #273. Licenses with hidden: true in their YAML front matter will not appear on the /licenses list.

In order to keep the front matter keys sane, hide-from-license-list, which really was used to described license variants, is now variant, with e.g., GPLv3 being a "variant" of the GPL family of licenses.

Licenses default to hidden: false via _config.yml unless otherwise specified.

Fixes #273.

@benbalter benbalter self-assigned this Aug 6, 2015
benbalter added a commit that referenced this pull request Aug 7, 2015
@benbalter
benbalter merged commit bf2bc66 into gh-pages Aug 7, 2015
@benbalter
benbalter deleted the hidden-licenses branch August 7, 2015 14:50
Comment thread licenses.html

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

TIL where filter in Liquid 😄 👍

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