Cleans up and refactors some stuff. Nothing major.
Unifies filename between html and md. Drops extension except during commit. Cleans up some code.
Refactors processing of archives and individual posts.