1 |
efrain |
1 |
{{ partial "skippy" . }}
|
|
|
2 |
|
|
|
3 |
<div class="container-fluid p-0 bg-white" data-region="componentlibrary">
|
|
|
4 |
<div class="row no-gutters flex-xl-nowrap">
|
|
|
5 |
<div class="col-md-3 col-xl-2 sidebar">
|
|
|
6 |
<div class="controls d-flex justify-content-between">
|
|
|
7 |
<div class="simplesearchform w-100">
|
|
|
8 |
<form autocomplete="off" method="get" accept-charset="utf-8"
|
|
|
9 |
class="mform d-flex flex-wrap align-items-center simplesearchform p-2 justify-content-center">
|
|
|
10 |
<div class="input-group w-100" data-region="docsearch">
|
|
|
11 |
<label for="searchinput-componentlibrary">
|
|
|
12 |
<span class="sr-only">Search component library</span>
|
|
|
13 |
</label>
|
|
|
14 |
<input type="text" id="searchinput-componentlibrary" class="form-control rounded" placeholder="Search"
|
|
|
15 |
aria-label="Search component library" name="clsearch" data-region="input" autocomplete="off">
|
|
|
16 |
<ul class="dropdown-menu w-100">
|
|
|
17 |
</ul>
|
|
|
18 |
</div>
|
|
|
19 |
</form>
|
|
|
20 |
</div>
|
|
|
21 |
<button class="btn bd-search-docs-toggle d-md-none p-0 ml-3" type="button" data-toggle="collapse"
|
|
|
22 |
data-target="#docssidebar" aria-controls="docssidebar" aria-expanded="false" aria-label="Toggle docs navigation">
|
|
|
23 |
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30" role="img" focusable="false">
|
|
|
24 |
<title>Menu</title>
|
|
|
25 |
<path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2"
|
|
|
26 |
d="M4 7h22M4 15h22M4 23h22"></path>
|
|
|
27 |
</svg>
|
|
|
28 |
</button>
|
|
|
29 |
</div>
|
|
|
30 |
{{ partial "docs-sidebar" . }}
|
|
|
31 |
</div>
|
|
|
32 |
{{ if (eq .Page.Params.toc true) }}
|
|
|
33 |
<div class="col-md-7 col-xl-8 py-md-3 pl-md-3 pr-md-3 bd-content">
|
|
|
34 |
{{ else }}
|
|
|
35 |
<div class="col-md-9 col-xl-10 py-md-3 pl-md-5 pr-md-5 bd-content">
|
|
|
36 |
{{ end }}
|
|
|
37 |
<h1 class="bd-title" id="content">{{ .Title | markdownify }}</h1>
|
|
|
38 |
<p class="bd-lead">{{ .Page.Params.Description | markdownify }}</p>
|
|
|
39 |
|
|
|
40 |
{{ if .Page.Params.sections }}
|
|
|
41 |
<div class="row my-5">
|
|
|
42 |
{{ range .Page.Params.sections }}
|
|
|
43 |
<div class="col-md-6 mb-4">
|
|
|
44 |
<a class="d-block text-decoration-none" href="../{{ urlize .title }}/">
|
|
|
45 |
<strong class="d-block h5 mb-0">{{ .title }}</strong>
|
|
|
46 |
<span class="text-secondary">{{ .description }}</span>
|
|
|
47 |
</a>
|
|
|
48 |
</div>
|
|
|
49 |
{{ end }}
|
|
|
50 |
</div>
|
|
|
51 |
{{ end }}
|
|
|
52 |
|
|
|
53 |
{{ if .Page.Params.tags }}
|
|
|
54 |
{{ range .Page.Params.tags }}
|
|
|
55 |
|
|
|
56 |
<div class="badge bg-info text-white">{{.}}</div>
|
|
|
57 |
|
|
|
58 |
{{ end }}
|
|
|
59 |
{{ end }}
|
|
|
60 |
|
|
|
61 |
{{ .Content }}
|
|
|
62 |
</div>
|
|
|
63 |
{{ if (eq .Page.Params.toc true) }}
|
|
|
64 |
<div class="d-none d-xl-block col-md-2 col-xl-2">
|
|
|
65 |
<div class="secondnav" aria-label="Secondary navigation">
|
|
|
66 |
{{ .TableOfContents }}
|
|
|
67 |
</div>
|
|
|
68 |
</div>
|
|
|
69 |
{{ end }}
|
|
|
70 |
</div>
|
|
|
71 |
</div>
|