<!DOCTYPE html>
<html>
<head>
    <title>{{ page.campaign_name }}</title>
    {% feed_meta %}
    <meta name="description" 
          content="{{ page.des }}" />
    <meta name="author" content="{{ page.author }}" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="canonical" href="{{ site.url}}{{ site.baseurl }}{{ page.url }}" />
    <link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/assets/adventure.css" />
</head>
<body>
  <div class="menu-toggle">M</div>
  <menu>
    <nav>
      <h3><a href="{{ site.baseurl }}/">Site Home</a></h3>
      <hr>
      <h2><a href="{{ site.baseurl }}/adventures/{{ page.campaign }} "></a>{{ page.campaign_name }}</h2>
      <hr>
      <ul>
        {% assign summaries = site.pages | 
        where: "categories", "page.campaign" %}
        {% for entry in entries %}
        <li>
          <a href="{{ site.baseurl }}{{ entry.url }}">{{ entry.title }}</a>
        </li>
        {% endfor %}
      </ul>
      <hr>
      <ul>
        {% assign scenes = site.posts | 
        where_exp: "posts", "posts.categories contains page.campaign" %}
        {% for scene in scenes %}
        <li>
          <a href="{{ site.baseurl }}{{ scene.url }}">{{ scene.title }}</a>
        </li>
        {% endfor %}
      </ul>
    </nav>
  </menu>
  <div class="main-filter"></div>
  <main>
    <article>
    {{ content }}
    </article>
  </main>
</body>
</html>
