1
0
Fork 0
mirror of https://github.com/eosswedenorg/apt synced 2026-06-16 04:34:56 +02:00

_includes/setup-instructions.html: Use alpine collapse component instead of the old one.

This commit is contained in:
Henrik Hautakoski 2022-01-25 16:51:01 +01:00
parent 648fa04d0a
commit 854317c90e
No known key found for this signature in database
GPG key ID: 608414D93E862CCD

View file

@ -4,9 +4,10 @@
{% assign setup-instructions_domain = include.domain | default: site.apt.domain %}
{% if include.collapse %}
<h2>Setup - <a href="#" class="collapse-trigger" data-target="setup-window">Show</a></h2>
<div x-data="collapse">
<h2>Setup - <a href="#" x-bind="trigger"></a></h2>
<div id="setup-window" class="collapsed">
<div x-bind="target" x-transition.opacity>
{% endif %}
@ -38,5 +39,6 @@ https://{{ setup-instructions_domain }}/<repository> <distribution> <component>
</p>
{% if include.collapse %}
</div>
</div>
{% endif %}