electionsutah / website

Elections Utah is an ongoing, community-driven open data project tracking Utah’s elections.
https://www.electionsutah.org
Creative Commons Zero v1.0 Universal
6 stars 3 forks source link

park city mayors #33

Closed nathan-gilbert closed 7 years ago

nathan-gilbert commented 7 years ago

Hi, I'd like to contribute but unsure everything that needs to be edited and how? I've directly edited the json file with the Park City mayoral candidates.

todrobbins commented 7 years ago

This is perfect @playbass! I know I'm way behind on documenting how I've set things up and I'll work on that ASAP. Typically, I update the YML files (works well with Jekyll) and then generate the CSV/JSON with the YML.

Thanks again for your contribution!

todrobbins commented 7 years ago

PS: For future reference with every new person id you'll need to create a corresponding page matching the id in the people directory. For instance: ut0206 would be people/ut0206.md and contain this markup:

---
layout: person
person: ut0206
---

I've taken care of these additions this time, so don't worry about resubmitting/submitting a new pull request.

Cheers!

nathan-gilbert commented 7 years ago

Thanks for the info! I figured the json and csv files were autogenerated somewhere but didn't see the yaml file. I'll work on that in the future. I'll create the corresponding person page as well.