Files
radicle.xyz/_layouts/blog.html
T
Lorenz Leutgeb 6309f516c6 explorer: Allow passing seed and base as arguments
Also take a default value from configuration.

Fix all usages and change some hardcoded links to use the filter.
2026-04-20 21:00:04 +02:00

39 lines
1.4 KiB
HTML

{% assign author = site.data.author[page.author] %}
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
{% include meta.html %}
<link rel="stylesheet" type="text/css" href="{{ "/assets/css/blog.css" | relative_url }}"/>
</head>
<body>
<header>
<div class="title">
<a href="/">
<img src="{{ "/assets/images/radicle.svg" | relative_url }}" alt="" />
<span>Blog</span>
</a>
</div>
<nav>
</nav>
<button class="toggle" id="toggle-theme"><!-- Set by script --></button>
</header>
<main>
<h1>{{ page.title }}</h1>
<p class="subtitle">{{ page.subtitle }}</p>
<span class="author">
Published by <a href="{{ author.radicle.node | default: site.node | append: ' users/' | append: author.radicle.did | explore }}">{{author.name}}</a>
{% if author.atproto %}<a href="{{ author.atproto | prepend: "https://bsky.app/profile/" }}">🦋</a>{% endif %}
{% if author.fedi %}<a href="{{ author.fedi | fedi_to_https }}">🐘</a>{% endif %}
{% if author.web %}<a href="https://{{ author.web }}">🌐</a>{% endif %}
on {{ page.date | date: "%d.%m.%Y" }}
</span>
{% include toc.html html=content class="toc" item_class="toc-h%level%" %}
{{ content }}
</main>
<footer>
<p>&copy; The Radicle Team</p>
</footer>
<script src="{{ "/assets/js/toggle-theme.js" | relative_url }}"></script>
</body>
</html>