mirror of
https://github.com/skoelle/moonweb-site.git
synced 2026-09-17 17:00:25 +00:00
initial commit
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ title }} · moonweb.org</title>
|
||||
<meta name="description" content="{{ description }}">
|
||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lobster&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/shared-base.css">
|
||||
<link rel="stylesheet" href="/theme.css">
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
<div class="site-banner">
|
||||
<span class="site-title">{{ section }}.moonweb.org</span>
|
||||
</div>
|
||||
<nav class="site-switcher">
|
||||
<a href="https://hub.moonweb.org">hub</a>
|
||||
<a href="https://infra.moonweb.org">infra</a>
|
||||
<a href="https://smarthome.moonweb.org">smarthome</a>
|
||||
<a href="https://code.moonweb.org">code</a>
|
||||
<a href="https://retro.moonweb.org">retro</a>
|
||||
<a href="https://stefankoelle.de">cv</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
{% if parent %}<a class="back-link" href="{{ parent }}">← Back to {{ section }} overview</a>{% endif %}
|
||||
{{ content | safe }}
|
||||
</main>
|
||||
|
||||
<footer class="site-footer">
|
||||
<p>Part of the <a href="https://hub.moonweb.org">moonweb.org</a> homelab.</p>
|
||||
<p><a href="https://hub.moonweb.org/impressum/">Impressum</a></p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,13 @@
|
||||
{% for section in sections %}
|
||||
<section class="card-section">
|
||||
<h2>{{ section.heading }}</h2>
|
||||
<div class="card-grid">
|
||||
{% for card in section.cards %}
|
||||
<a class="card" href="{{ card.href }}">
|
||||
<h3>{% if card.emoji %}{{ card.emoji }} {% endif %}{{ card.title }}</h3>
|
||||
<p>{{ card.summary }}</p>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</section>
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user