Customize 404 pages like all other page


(Pierre) #1

Hi,

I want to customize 404 page to add customized header.

In all other page I just override header template :

<script type='text/x-handlebars' data-template-name='header'>

</script>

But this doesn’t work on 404 page.

How can i do that ?


(Régis Hanol) #2

Why aren’t you customizing the header (which work on all the pages, including the 404) instead of overriding the template (which is bound to break at some point)?


(Pierre) #3

Because i need some logic (like user login, link to user profile, etc …)