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

Expose repo visibility #105

Merged
merged 1 commit into from
Jul 27, 2017
Merged

Expose repo visibility #105

merged 1 commit into from
Jul 27, 2017

Conversation

benbalter
Copy link
Contributor

This PR adds a private key to the site.github namespace. The value will be true if the repo is private, otherwise, it will be false. This will allow a site to know it's visibility (for example, to conditionally expose an edit button via a theme).

@benbalter benbalter requested a review from parkr July 27, 2017 15:08
Copy link
Member

@parkr parkr left a comment

Choose a reason for hiding this comment

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

@benbalter
Copy link
Contributor Author

@jekyllbot: merge +minor

@jekyllbot jekyllbot merged commit a2e8f03 into master Jul 27, 2017
@jekyllbot jekyllbot deleted the expose-visibility branch July 27, 2017 15:30
jekyllbot added a commit that referenced this pull request Jul 27, 2017
This was referenced Aug 9, 2017
@jekyll jekyll locked and limited conversation to collaborators Apr 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants