fixed crash if any of the non-body sections are missing

it is now impossible for an undefined (non-existing) section to be
passed to the renderer
throwing an error if the main story file doesn't exist
Fixing a couple of issues with template

- standardising quotes
- adding missing closing html tag
added ignoreBlank option
Merge branch 'empty-sections', closes #15