17 lines
759 B
HTML
17 lines
759 B
HTML
{{/*
|
|
A single command in a terminal window, with a Copy button (added by the
|
|
script in baseof.html). `command` defaults to the site's install
|
|
command; `prompt` sets the title bar; `note` goes under the window.
|
|
*/}}
|
|
{{ $s := . }}
|
|
{{ partial "sections/head.html" $s }}
|
|
<figure class="term">
|
|
<div class="term-bar">
|
|
<span class="log-dots" aria-hidden="true"><i></i><i></i><i></i></span>
|
|
<span class="term-title">{{ $s.prompt | default "Terminal" }}</span>
|
|
</div>
|
|
<pre class="term-body"><code>{{ $s.command | default site.Params.installCommand }}</code></pre>
|
|
</figure>
|
|
{{ with $s.note }}<p class="term-note">{{ . | markdownify }}</p>{{ end }}
|
|
{{ if $s.ctas }}<div class="cta-row mt-2">{{ partial "sections/ctas.html" $s.ctas }}</div>{{ end }}
|