Allow arbitrary layout of blog repos.
Remove unused sitemap imports.
First pass at static-pages as a plugin.
Cleanup imports and use write-document.
Add minor comment.
Minimal changes to support tagless, dateless static-pages using post template.

Note that tagless or dateless posts might not behave as expected in
indexes. Filtering by tag still works but sorting by date doesn't
drop the nil values.