ttrpg-compendium/_layouts/journal.html

49 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>{{ page.title }}</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}}{{ page.url }}" />
<link rel="stylesheet" type="text/css" href="/assets/journal.css" />
<link rel="stylesheet" type="text/css" href="/assets/{{ page.aut }}.css" />
</head>
<body>
<div class="menu-toggle">M</div>
<menu>
<figure>
<h2><a href="/">Site Home</a></h2>
<hr>
<a href="/journals/{{ page.aut }}">
<img src="/assets/{{ page.aut }}.png" alt="{{ page.author }}" />
</a>
<hr>
<figcaption>{{ page.description }}</figcaption>
<hr>
</figure>
<nav>
<ul>
{% assign entries = site.posts |
where_exp: "posts", "posts.categories contains page.aut" %}
{% for entry in entries %}
<li>
<a href="{{ entry.url }}">{{ entry.title }}</a>
</li>
{% endfor %}
</ul>
</nav>
</menu>
<div class="main-filter"></div>
<main>
<article>
{{ content }}
{% unless page.no-footer %}
{% include journal_footer.html %}
{% endunless %}
</article>
</main>
</body>
</html>