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

Make contributor data available to hugo #881

Closed
wants to merge 1 commit into from
Closed

Conversation

imorente
Copy link
Contributor

@imorente imorente commented Dec 7, 2017

- Summary

Adds a gulp task to convert the .all-contributorsrc json file into yaml, and copies it to website's data folder so hugo can use it.

- Test plan

cd website && yarn install && yarn build

There should be a website/site/data/contributors.yml than can then be used in a hugo template. Eg. The following code would output a list of with all the contributors' names.

  {{ range .Site.Data.contributors }}
    <ul>
    {{ range . }}
      <li>{{ .name }}</li>
    {{ end }}
  {{ end }}

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)
image

@verythorough
Copy link
Contributor

Deploy preview ready!

Built with commit 4f76b98

https://deploy-preview-881--netlify-cms-www.netlify.com

@imorente imorente closed this Dec 7, 2017
@imorente
Copy link
Contributor Author

this PR was closed on purpose. The change was merged into master via #880

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