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

31 lines
982 B
Plaintext
Raw Normal View History

2018-01-16 22:08:47 -05:00
<!doctype html>
2018-01-22 23:53:46 -05:00
<html lang="en">
2018-01-16 22:08:47 -05:00
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title or metadata.title }}</title>
2018-01-23 01:21:56 -05:00
<link rel="stylesheet" href="{{ 'css/index.css' | url }}">
<link rel="stylesheet" href="{{ 'css/prism-base16-monokai.dark.css' | url }}">
<link rel="alternate" href="{{ 'feed/' | url }}" type="application/atom+xml" title="{{ title }}">
2018-01-16 22:08:47 -05:00
</head>
<body>
<header>
2018-01-23 01:21:56 -05:00
<h1 class="home"><a href="{{ '' | url }}">{{ metadata.title }}</a></h1>
2018-01-16 22:08:47 -05:00
<ul class="nav">
2018-01-16 22:38:57 -05:00
{%- for nav in collections.nav | reverse -%}
<li class="nav-item{% if nav.url == page.url %} nav-item-active{% endif %}"><a href="{{ nav.url | url }}">{{ nav.data.navtitle }}</a></li>
2018-01-16 22:08:47 -05:00
{%- endfor -%}
</ul>
2018-01-16 22:08:47 -05:00
</header>
2018-01-22 23:53:46 -05:00
<main{% if templateClass %} class="{{ templateClass }}"{% endif %}>
{{ layoutContent | safe }}
</main>
2018-01-16 22:08:47 -05:00
<footer>
</footer>
<!-- Current page: {{ page.url | url }} -->
2018-01-16 22:08:47 -05:00
</body>
2018-01-19 01:32:20 -05:00
</html>