Skip to content

Instantly share code, notes, and snippets.

@jshawl
Last active December 21, 2015 04:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jshawl/6251145 to your computer and use it in GitHub Desktop.
Save jshawl/6251145 to your computer and use it in GitHub Desktop.
---
layout: invoice
status: paid | unpaid | late
deliverables:
item:
description: made site responsive
price: $1,000
item:
description: changed logo color
price: $300
notes: you can add some notes here.
---
# things that are automatically generated:
Invoice number #maybe index of post + some random number
Date # today's date
Due Date # 3 weeks (or whatever) from today's date.
Invoice to:
^ I'm thinking there are two ways to do this:
1. have a client:{clientname} in the YAML
2. OR have a layout specific to one client
- e.g. the apple-inc.html extends invoice.html
- all the contact info will be in markup
Invoice from# just something in markup in a layout
Total # loops through deliverables and adds the price
Default notes and information. # just taken from markup plus the individual notes in yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment