wip: metadata

#### TODO

- [ ] hook up to index
Still no idea what alternate is supposed to be. We should just leave it out.