diff options
Diffstat (limited to '_includes/archive.njk')
-rw-r--r-- | _includes/archive.njk | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/_includes/archive.njk b/_includes/archive.njk new file mode 100644 index 0000000..1425f6e --- /dev/null +++ b/_includes/archive.njk @@ -0,0 +1,46 @@ +--- +title = "Starfall" +--- +<!doctype html> +<html lang=en-US dir=ltr> +<head> + <title>{{ title }}</title> + <meta charset=UTF-8> + <meta name=robots content="noindex, nofollow"> + <meta name=viewport content="width=device-width, initial-scale=1"> + <link rel=stylesheet href=/css/base.css> + <script src='/js/moon-phase.js'></script> + {{ extraHeadContent | safe }} +</head> + +<body> +<header class=clearfix> + <h1>{{ title }}</h1> + <nav aria-label=primary> + {% set navs = collections.all | eleventyNavigation %} + <ul>{%- for nav in navs %} + <li> + <a href="{{ nav.url }}"{% if nav.url == page.url %} class="active" aria-current="page"{% endif %}>{{ nav.title }}</a> + </li>{%- endfor %} + </ul> + </nav> + <div id=decor-moons aria-hidden=true></div> +</header> + +<main> +<section> + <b>Title</b>: {{ title }}<br/> + <b>Author</b>: {{ author }}<br/> + <b>Source</b>: <a href="{{ source }}">{{ source }}</a><br/> +</section> + +<section> +{{ content | safe }} +</section> +</main> + +<footer> +<div style=text-align:center>∨/∧</div> +</footer> + +</body> |