Your initial header.tpl should work with the latest version of nodebb, app.template is no longer necessary since that is available in ajaxify.data.template