← back to AbramsOS

views/error.ejs

10 lines

<%- include('partials/header', { title: 'Error' }) %>

<section class="error glass">
  <h1>Something went wrong</h1>
  <pre><%= error %></pre>
  <a class="button" href="/">← Home</a>
</section>

<%- include('partials/footer') %>