first commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{{/*
|
||||
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 }}
|
||||
Reference in New Issue
Block a user