-
-
Notifications
You must be signed in to change notification settings - Fork 63
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 data to data files #2
Comments
Sounds good. I'll add these in once we get your pull request merged. As a note: in most cases, the images are not going to live locally in the website, but rather, will be pulled from another source. Here are the existing data files we are using:
We don't currently have donation data, but I'll work on pulling that. |
That makes things simpler then. I'll make sure I update the code to reflect that. 👍🏻 Dumb question: is there a JS script associated with these files that updates them or something like that? or should I just copy-paste the content and use it as is? |
There is a script that auto-updates the data. You can just use static data for now and I’ll update the repo to dynamically pull in the data. |
Thanks Nicholas! |
Reopening because I haven't updated the donations or authors data yet. |
I was just going to open another issue and request adding:
|
I'll add those to my list! |
I believe I've addressed everything in this issue now. |
Data files
The
src/_data/
directory contains a fewjson
files. These files contain data globally available to the site, used to pull in and display that data in the templates and pages.@nzakas Could you kindly start adding data to the following files when you're able to?
sponsors.json
— the list of sponsors. Every sponsor has an image which you should place in theassets/images/sponsors
directory, a name, and a URL to the sponsor's Web site (or other link). The list of backers has their images placed in thesponsors/backers
directory, but we can move them into the/sponsors/
directory if you prefer.authors.json
— the list of people who have contributed articles to the site.team.json
— the ESLint team, categorized into the four main categories as represented on the Team page (technical steering committee, reviewers, committers, and alumni)donations.json
— donations information: who donated, how much they donated, when they donated, and their name, logo, and a link (if there is one, I'm not sure if the images in the donations list are clickable or not).Let me know if you have any questions. ^_^
The text was updated successfully, but these errors were encountered: