Fix syntax typo
Implement override_middleware

This avoids statictemplate not producing output in the event that the
user has a middleware that requires login for all pages, for example.