mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2025-05-24 14:46:16 +00:00
72 lines
2.3 KiB
Text
72 lines
2.3 KiB
Text
<!doctype html>
|
|
<html lang="{{ metadata.language }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
|
|
<title>{{ title or metadata.title }}</title>
|
|
<meta name="description" content="{{ description or metadata.description }}">
|
|
|
|
<link rel="stylesheet" href="{{ '/assets/css/main.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 }}">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<header id="navigation" class="site-header">
|
|
<a class="site-logo" href="{{ '/' | url }}">{{ metadata.title }}</a>
|
|
|
|
<a class="navigation-toggle show" href="#navigation">Menü</a>
|
|
<a class="navigation-toggle hide" href="#">Schließen</a>
|
|
|
|
<nav class="site-navigation">
|
|
<ul>
|
|
{% for entry in collections.topNavigation | eleventyNavigation %}
|
|
<li{% if entry.url == page.url %} class="active"{% endif %}>
|
|
<a href="{{ entry.url }}">
|
|
{{ entry.title }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
</header>
|
|
|
|
<main id="content" {% if templateClass %} class="{{ templateClass }}"{% endif %}>
|
|
{{ content | safe }}
|
|
</main>
|
|
|
|
<footer class="page-section footer">
|
|
<div class="page-content site-footer">
|
|
<div>
|
|
<p>
|
|
{{ metadata.author.name }}
|
|
{% for line in (metadata.author.address or []) %}
|
|
<br />
|
|
{{ line }}
|
|
{% endfor %}
|
|
</p>
|
|
<p>
|
|
{{ metadata.author.email }}
|
|
</p>
|
|
</div>
|
|
|
|
<div>
|
|
<nav class="site-navigation">
|
|
<ul>
|
|
{% for entry in collections.bottomNavigation | eleventyNavigation %}
|
|
<li{% if entry.url == page.url %} class="active"{% endif %}>
|
|
<a href="{{ entry.url }}">
|
|
{{ entry.title }}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html>
|