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:
parent
648fa04d0a
commit
854317c90e
1 changed files with 4 additions and 2 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue