xmitter-11ty/_includes/layouts/base.njk

26 lines
790 B
Plaintext
Raw Normal View History

2018-01-16 22:08:47 -05:00
<!doctype html>
<html lang="en"{% if templateClass %} class="{{ templateClass }}"{% endif %}>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title }}</title>
<link rel="stylesheet" href="/css/index.css">
<link rel="stylesheet" href="/posts/posts.css">
</head>
<body>
<header>
<a href="/""><img src="/img/logo.png" class="logo"></a>
<ul class="nav">
{%- for nav in collections.nav -%}
2018-01-16 22:20:54 -05:00
<li class="nav-item"><a href="{{ nav.url | url }}">{{ nav.data.navtitle }}</a></li>
2018-01-16 22:08:47 -05:00
{%- endfor -%}
</header>
{{ layoutContent | safe }}
<footer>
<p><em><a href="/feed/">Subscribe to my feed</a></em></p>
2018-01-16 22:20:54 -05:00
<p><em>Current page: <code>{{ page.url | url }}</code></em></p>
2018-01-16 22:08:47 -05:00
</footer>
</body>
</html>