Skip to content

Committees

Aaron D Borden edited this page Jun 3, 2018 · 1 revision

Note: Occasionanlly you see an error form html-proofer that a committee route does not exist. Follow the instructions to add a committee here to resolve the error.

$ make test
...
- _site/referendum/oakland/2018-06-05/library-parcel-tax/index.html
  *  internally linking to /odca-jekyll/committee/1400467/, which does not exist (line 406)
     <a href="/odca-jekyll/committee/1400467/">Protect Oakland Libraries - Yes on D 2018</a>
htmlproofer 3.7.5 | Error:  HTML-Proofer found 1 failure!
make: *** [Makefile:15: test] Error 1

Add a committee

Create a new file under _committees/ with the filename <filer_id>.md. For example, from the error above, create the file _committees/1400467.md. Paste the following, filling out the proper values for the committee. If any fields don't have a value, just remove the entire line instead of leaving it blank.

---
filer_id: '<filer_id>'
name: '<committee_name>'
committee_type: '<committee_type>'
ballot_measure: '<ballot_measure_letter_or_number>'
---

Make sure to include the front matter markers (three dashes ---) at the top and bottom.

Clone this wiki locally