mirror of
https://seed.radicle.dev/rad:z371PVmDHdjJucejRoRYJcDEvD5pp.git
synced 2026-11-21 18:40:44 +08:00
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.
33 lines
1.0 KiB
HTML
33 lines
1.0 KiB
HTML
<!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>
|