Template: fix jade deprecation warnings in error pages.