Files
Honey-Links/templates/page.html
T
marcandClaude Sonnet 5 3a49d91c2e Make favicon editable per page in /admin
Same emoji-based inline SVG favicon as before, but the emoji is now
a per-page "favicon" field editable in the header form instead of
hardcoded in the template.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-24 12:15:03 +02:00

51 lines
1.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Honey | Links</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>{{ page.favicon or '🍯' }}</text></svg>">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet"/>
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
</head>
<body>
<div class="background-glow"></div>
<!-- Fireflies container -->
<div class="fireflies">
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
<div class="firefly"></div>
</div>
<!-- Content on top -->
{% if page.profile_image %}<img src="{{ page.profile_image }}" alt="Profile Picture" class="profile-pic" />{% endif %}
<h1 class="fade-in">{{ page.title }}</h1>
{% if page.subtitle %}<p class="bio fade-in">{{ page.subtitle }}</p>{% endif %}
{% if page.subtitle2 %}<p class="bio2 fade-in">{{ page.subtitle2 }}</p>{% endif %}
{% for section in page.sections %}
<h2 class="section-title">{{ section.name }}</h2>
<div class="links-grid">
{% for link in section.links %}
<a href="{{ link.url }}" class="link animated-link {{ link.color }}-glow{% if link.half %} half{% endif %}" target="_blank" style="--i: {{ loop.index0 }}">
<div class="link-title">{{ link.title }}</div>
{% if link.note %}<div class="link-note">{{ link.note }}</div>{% endif %}
</a>
{% endfor %}
</div>
{% endfor %}
<footer>
<a href="{{ page.footer_href }}" target="_self" title="Switch Version" class="link-footer">
<div>{{ page.footer_label }}</div>
</a>
© 2025 Marc Luv
</footer>
</body>
</html>