the official website for frontyard projects inc.
The BreathingSpace chart and text is based on the data in _data/_money.yml file.
To update the chart, edit _data/_money.yml to add a new month’s entry to the top of the list, following the formatting of the existing entries:
- value: 8.46
date: 29/1/2018
- value: 10.49
date: 31/12/2017
- value: 10.12
date: 30/11/2017
The monthly donors information is fed from the data in the files in /_supporters. There is a file for each month, named $sequential_month_number.$month_name.md
, e.g. 01.march.md
for the first month and 24.february.md
for february in Frontyard’s second year.
Each file has a YAML statement. It states the month
this file represents, then the items covered. Each item entry states the name of the item (item
), its value (value
), and the name of the donor who covered it (name
):
---
month: February 2018
covered:
- item: Internets
value: 65
name:
- item: Rent
value: 30
name:
- item: 100% renewably powered lights
value: 50
name: circle square paper
- item: 100% renewable computer power
value: 50
name: T Malott
- item: Water
value: 50
name: Andrew Fedorovitch
- item: Fresh food for residents
value: 50
name:
- item: Workshop supplies
value: 40
name: Anonymous
- item: Cuppas
value: 20
name:
- item: Risograph paper and ink
value: 50
name: circle square paper
- item: Special public liability funds
value: 635
name:
---
To update an existing month, amend exiting entries or add new entries to the file for that month.
To add a new month’s data, create a new file in the /_supporters directory, with the correct name and YAML formatted entries.
To hack on this site make sure you have Jekyll installed:
gem install jekyll
Then run:
jekyll serve