Files
radicle.xyz/_layouts/guide.html
T
Lorenz Leutgeb 72b9c1fa73 footer: Split into fixed elements
Instead of having the link to the homepage (via the logo) and the theme
switcher in the footer, split this up. The logo is now in the top left
and the theme toggle in the bottom right. The footer itself is removed
on the homepage, but kept for blog posts, guides, etc.
2026-04-25 02:02:08 +02:00

33 lines
1.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
{% include meta.html %}
<link rel="stylesheet" type="text/css" href="{{ "/assets/css/guide.css" | relative_url }}"/>
</head>
<body>
<header>
<div class="title">
<a href="/guides">
<img src="{{ "/assets/images/radicle.svg" | relative_url }}" alt="" />
<span>Guides</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>
<img class="banner" src="/assets/images/banners/{{ page.banner }}" />
{% include toc.html html=content class="toc" item_class="toc-h%level%" %}
<hr />
{{ content }}
</main>
<footer>
<span><small>© <span class="desktop">2018–{{ 'now' | date: "%Y" }}</span> The Radicle Team</small></span>
</footer>
<script src="{{ "/assets/js/toggle-theme.js" | relative_url }}"></script>
</body>
</html>