-
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathsingle.html
More file actions
54 lines (54 loc) · 2.17 KB
/
Copy pathsingle.html
File metadata and controls
54 lines (54 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{{ define "main" }}
{{- $icons := dict
"apple-silicon-native" "spark"
"clipboard-preservation" "clipboard"
"custom-vocabulary" "vocabulary"
"double-tap-toggle" "hotkey"
"fully-configurable" "sliders"
"github-release-updates" "refresh"
"languages" "globe"
"launch-at-login" "launch"
"push-to-talk" "mic"
"silence-detection" "clock"
"smart-model-selection" "chip"
"system-wide-text-injection" "caret"
"translation" "translate"
"usage-stats" "chart"
"visual-feedback" "levels"
-}}
{{- $icon := default "shield" (index $icons .File.ContentBaseName) -}}
<section class="page-hero" aria-labelledby="page-title">
<div class="shell">
<a class="back-link" href="/features/"><span class="btn-arrow btn-arrow-back" aria-hidden="true">←</span> All features</a>
<div class="page-hero-head">
<span class="page-hero-icon">{{ partial "icon.html" $icon }}</span>
<div>
<p class="section-tag">VocaMac feature</p>
<h1 id="page-title">{{ .Title }}</h1>
<p>{{ .Params.subtitle }}</p>
</div>
</div>
</div>
</section>
<section class="section">
<div class="shell doc-layout">
<article class="prose">
{{ .Content }}
<div class="feature-cta">
<p>Ready to try {{ .Title }}?</p>
<a class="btn btn-primary" href="/#install">Install VocaMac <span class="btn-arrow btn-arrow-down" aria-hidden="true">↓</span></a>
</div>
</article>
{{ with .TableOfContents }}
<aside class="doc-aside" aria-label="On this page">
<div class="doc-aside-inner" data-toc>
<p class="doc-aside-title">On this page</p>
{{/* Hugo emits a bare <nav>; name it so it is not an anonymous landmark. */}}
{{ . | replaceRE `<nav id="TableOfContents">` `<nav id="TableOfContents" aria-label="Sections of this page">` | safeHTML }}
<a class="text-link doc-aside-link" href="/#install">Install VocaMac <span class="btn-arrow btn-arrow-down" aria-hidden="true">↓</span></a>
</div>
</aside>
{{ end }}
</div>
</section>
{{ end }}