1
0
mirror of https://github.com/go-acme/lego.git synced 2024-12-23 17:21:50 +02:00
lego/docs/layouts/shortcodes/clihelp.html
2023-01-08 13:53:15 +00:00

25 lines
765 B
HTML

<div class="tab-panel">
<div class="tab-nav">
{{ $commands := index $.Site.Data.zz_cli_help "command" }}
{{ range $idx, $tab := $commands }}
<button
data-tab-item="{{ .title }}"
data-tab-group="cli-help"
class="tab-nav-button btn {{ cond (eq $idx 0) "active" ""}}"
onclick="switchTab('cli-help','{{ .title }}')"
>{{ .title }}</button>
{{ end }}
</div>
<div class="tab-content">
{{ range $idx, $tab := $commands }}
<div
data-tab-item="{{ .title }}"
data-tab-group="cli-help"
class="tab-item {{ cond (eq $idx 0) "active" ""}}"
>
<pre>{{ .content }}</pre>
</div>
{{ end }}
</div>
</div>