Repository navigation
Expand file tree
/
Copy pathbaseof.html
More file actions
79 lines (79 loc) · 2.71 KB
/
Copy pathbaseof.html
File metadata and controls
79 lines (79 loc) · 2.71 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!doctype html>
<html lang="en" class="tri-next">
<head>
{{ partial "head.html" . }}{{ block "head-extra" . }}{{ end }}
</head>
{{- $context := partialCached "navigation/context.html" . .Path -}}
<body
class="docs-site"
data-category="{{ $context.category.id | default .Params.category | default "home" }}"
>
<a class="skip-link" href="#main-content">Skip to content</a>
{{ partial "header.html" . }}
{{ partial "gordon-chat.html" . }}
<main
id="main-content"
tabindex="-1"
class="docs-main {{ if $context.discovery }}
discovery-layout
{{ else if not $context.hasSidebar }}
standalone-layout
{{ end }}"
{{ if and (ne .Params.sitemap false) (ne .Kind "404") }}
data-pagefind-body
{{ end }}
>
{{ partial "pagefind-meta.html" . }}
{{ if not .IsHome }}{{ partial "reading-header.html" . }}{{ end }}
<div
class="reading-layout {{ if $context.hasSidebar }}with-sidebar{{ end }}"
>
{{ if $context.hasSidebar }}
<details class="sidebar-panel" data-pagefind-ignore open>
<summary class="sidebar-toggle">
On this page:
{{ $context.sidebar.LinkTitle }}
</summary>
<div class="sidebar-scroll" data-sidebar-scroll>
{{ block "left" . }}
{{ partial "navigation/sidebar.html" . }}
{{ end }}
</div>
</details>
{{ end }}
<div class="reading-body">
{{ block "main" . }}
<div class="article-layout">
<div class="article-content">
{{ block "article" . }}
<article class="prose dark:prose-invert">
{{ partial "content-default.html" . }}
</article>
{{ end }}
{{ partial "github-links.html" . }}
</div>
{{ block "right" . }}
<div class="reading-toc" data-pagefind-ignore>
{{ partial "aside.html" . }}
</div>
{{ end }}
</div>
{{ end }}
</div>
</div>
{{ if and site.Params.gordon.ask_dock (not $context.discovery) }}
{{ partial "ask-dock.html" . }}
{{ end }}
</main>
<footer class="site-footer">{{ partialCached "footer.html" . }}</footer>
{{ with .Store.Get "youtube" }}
{{ partialCached "youtube-script.html" "-" "-" }}
{{ end }}
{{ with .Store.Get "mermaid" }}
{{ partialCached "mermaid-script.html" "-" "-" }}
{{ end }}
{{ with .Store.Get "interactive-diagram" }}
{{ partialCached "interactive-diagram-script.html" "-" "-" }}
{{ end }}
</body>
</html>