<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>{{#if title }}{{ title }}{{else}}{{ site.title }}{{/if}} - {{ site.name }}</title>
  <link rel="stylesheet" href="/css/style.css">
  {{#each stylesheets}}
  <link rel="stylesheet" href="{{this}}">
  {{/each}}
</head>
<body class="{{{bodyClasses}}}">
  <nav class="navbar navbar-expand-lg bg-body-tertiary">
  <div class="container-fluid">
    <a class="navbar-brand" href="/"><i class="bi bi-dice-4-fill"></i>Kahuna</a>
    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
      <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav me-auto mb-2 mb-lg-0">
        <li class="nav-item"><a class="nav-link" href="/campaigns">Campaigns</a></li>
        <li class="nav-item"><a class="nav-link" href="/seasons">Seasons</a></li>
      </ul>
    </div>
  </div>
</nav>
  <main class="container p-0 p-md-4">
    {{{content}}}
  </main>
  <footer class="bg-dark text-light py-3">
    <div class="container d-flex justify-content-between align-items-center">
      <!-- Copyright Notice -->
      <p class="mb-0">&copy; <span id="currentYear">{{year}}</span> {{site.name}}. All rights reserved.</p>

      <!-- Members Button -->
      <a href="/members" class="btn btn-outline-secondary btn-sm ">Members</a>
    </div>
  </footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" 
	integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" 
	crossorigin="anonymous" webc:keep></script>
</body>
</html>