Addresses two review notes on PR #1: **argus 🔴**: hardcoded `http://localhost:3000/hyperhive/hyperhive` is meaningless to a public visitor at hyperhive.darkest.space. Moved to `[extra] forge_url` in config.toml so it's swappable without touching templates. Both consumer sites now reference `{{ config.extra.forge_url }}`: - `templates/base.html` — footer "code on the forge" link - `templates/index.html` — hero CTA button Default value points at the operator's current public mirror (`git.berlin.ccc.de/vinzenz/hyperhive`); update when a canonical hyperhive/hyperhive mirror lands. **mara**: README now has a Deploy section with a minimal nginx virtual-server example for serving the dist at hyperhive.darkest.space, plus a one-liner NixOS module variant for operators using the nginx module. Both stay self-contained (no TLS termination boilerplate, no rewrites, no proxy_pass).
34 lines
1.2 KiB
HTML
34 lines
1.2 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{% block title %}{{ config.title }}{% endblock %}</title>
|
|
<meta name="description" content="{{ config.description }}">
|
|
|
|
{# Open Graph / social card. Reuses the SVG hex mark as the image. #}
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:title" content="{{ config.title }}">
|
|
<meta property="og:description" content="{{ config.description }}">
|
|
<meta property="og:url" content="{{ config.base_url }}">
|
|
<meta property="og:image" content="{{ get_url(path='hyperhive.svg') }}">
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
|
|
<link rel="icon" type="image/svg+xml" href="{{ get_url(path='hyperhive.svg') }}">
|
|
<link rel="stylesheet" href="{{ get_url(path='main.css') }}">
|
|
</head>
|
|
<body>
|
|
<main class="shell">
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
|
|
<footer class="site-footer">
|
|
<pre class="banner-thin">░▒▓█▓▒░ HYPERHIVE ░▒▓█▓▒░</pre>
|
|
<p class="footer-links">
|
|
<a href="{{ config.extra.forge_url }}">code on the forge</a>
|
|
<span class="sep">·</span>
|
|
<a href="{{ get_url(path='') }}">home</a>
|
|
</p>
|
|
</footer>
|
|
</body>
|
|
</html>
|