Replace tabs with spaces in blog.__init__.
Introduce new generic header_actions template_hook.