This commit is contained in:
mark committed 2026-10-24 09:13:19 -04:00
1 parent c66f9a1e2a
commit 6f4168deeb
7 files changed
+174 -36

No files matched your search

+6
View File
@@ -19,9 +19,15 @@
hx-on:click="if (event.target === this && this.matches(':modal')) this.close();"
hx-on:close="if (!this.open) this.show();">
<div class="sidebar-body">
<h2 class="sidebar-title">Navigation</h2>
<hr class="sidebar-rule">
{%- if reference %}
{% include "reference.njk" %}
{%- endif %}
{# Names the body's target and swap again: it would otherwise inherit
the shell's, and swap the index in for the sidebar. #}
<a class="sidebar-index" href="./"
hx-target="#content" hx-swap="innerHTML show:window:top">Back to index</a>
</div>
{# Takes the place of the frame's last corner on a phone, right where the
button that opened it was. #}