MusicTopus/views/error.ejs
Damien Broqua 60f96d75ef #issue/17 (#18)
#issue-17

Co-authored-by: dbroqua <contact@darkou.fr>
Reviewed-on: dbroqua/MyMusicLibrary#18
Co-authored-by: Damien Broqua <dbroqua@noreply.localhost>
Co-committed-by: Damien Broqua <dbroqua@noreply.localhost>
2022-02-22 14:50:07 +01:00

11 lines
No EOL
308 B
Text

<main class="layout-maxed error">
<h1><%= page.title %></h1>
<% if ( errorCode && errorCode === 404 ) { %>
<p class="text-center">
<img src="/img/404.svg" alt="Erreur 404" style="max-height: 400px;" />
</p>
<% } %>
<div>
<pre><%= page.error %></pre>
</div>
</main>