crimsontome.com/_includes/layouts/base.njk

48 lines
1.7 KiB
Plaintext
Raw Normal View History

2021-10-15 22:30:12 +01:00
<!doctype html>
<html lang="en">
2022-09-06 18:17:56 +01:00
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2022-09-28 01:18:20 +01:00
<meta property="og:image" content="/img/crimsontome.jpg">
2022-09-06 18:17:56 +01:00
<title>{{ title or metadata.title }}</title>
<meta name="description" content="{{ description or metadata.description }}">
<link rel="stylesheet" href="{{ '/css/index.css' | url }}">
<link rel="stylesheet" href="{{ '/css/prism-base16-monokai.dark.css' | url }}">
<link rel="alternate" href="{{ metadata.feed.path | url }}" type="application/atom+xml"
title="{{ metadata.title }}">
<link rel="alternate" href="{{ metadata.jsonfeed.path | url }}" type="application/json"
title="{{ metadata.title }}">
2022-09-17 01:43:35 +01:00
<script src="https://kit.fontawesome.com/f88ea354ea.js" crossorigin="anonymous"></script>
2022-09-06 18:17:56 +01:00
<link rel="icon" href="/img/favicon.ico" />
</head>
2021-10-15 22:30:12 +01:00
2022-09-06 18:17:56 +01:00
<body>
<header>
<h1 class="home"><a href="{{ '/' | url }}">{{ metadata.title }}</a></h1>
2022-09-17 02:08:00 +01:00
2022-09-06 18:17:56 +01:00
{#- Read more about `eleventy-navigation` at https://www.11ty.dev/docs/plugins/navigation/ #}
</header>
2021-10-15 22:30:12 +01:00
2022-09-06 18:17:56 +01:00
<main{% if templateClass %} class="{{ templateClass }}" {% endif %}>
{{ content | safe }}
</main>
2021-10-15 22:30:12 +01:00
2022-09-06 18:17:56 +01:00
<nav>
<ul class="nav">
{%- for entry in collections.all | eleventyNavigation %}
<li class="nav-item{% if entry.url == page.url %} nav-item-active{% endif %}"><a
href="{{ entry.url | url }}">{{ entry.title }}</a></li>
{%- endfor %}
</ul>
</nav>
</body>
2022-09-17 02:31:07 +01:00
<p></p>
2022-09-17 02:08:00 +01:00
<footer>
2022-09-17 02:31:07 +01:00
2022-09-17 02:08:00 +01:00
<div class="footer">
2022-09-17 02:31:07 +01:00
<a href="{{ '/' | url }}">{{ metadata.title }}</a> <i class="fa-solid fa-screwdriver-wrench"></i> by <a href="https://github.com/crimsontome">CrimsonTome</a> | <a href="https://github.com/crimsontome/crimsontome-blog"><i class="fa-brands fa-github"></i>Source code</a>
2022-09-17 02:08:00 +01:00
</div>
2022-09-17 02:31:07 +01:00
2022-09-17 02:08:00 +01:00
</footer>
2022-09-06 18:17:56 +01:00
</html>