Thinking a few extra defaults would be handy. Specifically, date variables come up a lot like the current year at runtime. Maybe also a variables that reflects the file system, like the parent directory where bluprint is running.
Can feel out what else is useful, but start by adding:
Right now, we add
bluprintPart
as a default context variable: https://github.com/reuters-graphics/bluprint/blob/master/lib/actions/index.js#L52Thinking a few extra defaults would be handy. Specifically, date variables come up a lot like the current year at runtime. Maybe also a variables that reflects the file system, like the parent directory where bluprint is running.
Can feel out what else is useful, but start by adding:
year
- YYYYmonth
- MMday
- DDdirname
- parent directory name