<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/css/style.css">
    <link rel="stylesheet" href="/assets/fontawesome/css/all.css">
    <title>{{ title }}</title>
  </head>
  <body>
    {% include "partials/header.njk" %}

    <aside>

      <a class="button" onclick="history.back()">
        <i class="fa fa-solid fa-angle-left"></i> Zurück
      </a>

      {% if header %}
        <div>
          <img src="{{ header }}" alt="{{ title }}">
        </div>
      {% endif %}

      <h1 >{{ title }}</h1>
      <span>{{ page.date | formatDate }}</span>
    </aside>

    <main>
      <article>
        {{ content | safe }}
      </article>
    </main>

    {% include "partials/footer.njk" %}
  </body>
</html>
