|
1 | | -<div class="flex w-full gap-8"> |
2 | | - <article class="prose dark:prose-invert max-w-4xl min-w-0 flex-[2_2_0%]"> |
3 | | - {{ partial "breadcrumbs.html" . }} |
4 | | - <div class="flex items-start justify-between"> |
5 | | - <h1 data-pagefind-weight="10">{{ .Title | safeHTML }}</h1> |
6 | | - <div class="md-dropdown ml-auto hidden lg:block"> |
7 | | - {{ partial "md-dropdown.html" . }} |
8 | | - </div> |
9 | | - </div> |
10 | | - <div class="block lg:hidden"> |
11 | | - {{ partialCached "pagemeta.html" . . }} |
12 | | - <hr /> |
13 | | - </div> |
14 | | - {{ .Content }} |
15 | | - {{- if and (eq .Type "guides") (not .IsSection) (ne .CurrentSection .FirstSection) -}} |
16 | | - {{- with .PrevInSection -}} |
17 | | - <div class="not-prose col-start-2 my-4"> |
18 | | - <a |
19 | | - href="{{ .Permalink }}" |
20 | | - class="cursor-pointer rounded-sm bg-blue-500 px-4 py-2 text-white hover:bg-blue-400 dark:bg-blue-800 dark:hover:bg-blue-700" |
21 | | - >{{ .Title }} »</a |
22 | | - > |
23 | | - </div> |
24 | | - {{- end -}} |
25 | | - {{- end -}} |
26 | | - </article> |
27 | | - <div class="-mt-8 hidden min-w-48 flex-1 lg:block"> |
28 | | - {{ partial "aside.html" . }} |
| 1 | +{{ partial "breadcrumbs.html" . }} |
| 2 | +<div class="flex items-start justify-between"> |
| 3 | + <h1 data-pagefind-weight="10">{{ .Title | safeHTML }}</h1> |
| 4 | + <div class="md-dropdown ml-auto hidden lg:block"> |
| 5 | + {{ partial "md-dropdown.html" . }} |
29 | 6 | </div> |
30 | 7 | </div> |
| 8 | +<div class="block lg:hidden"> |
| 9 | + {{ partialCached "pagemeta.html" . . }} |
| 10 | + <hr /> |
| 11 | +</div> |
| 12 | +{{ .Content }} |
| 13 | +{{- if and (eq .Type "guides") (not .IsSection) (ne .CurrentSection .FirstSection) -}} |
| 14 | + {{- with .PrevInSection -}} |
| 15 | + <div class="not-prose col-start-2 my-4"> |
| 16 | + <a |
| 17 | + href="{{ .Permalink }}" |
| 18 | + class="cursor-pointer rounded-sm bg-blue-500 px-4 py-2 text-white hover:bg-blue-400 dark:bg-blue-800 dark:hover:bg-blue-700" |
| 19 | + >{{ .Title }} »</a |
| 20 | + > |
| 21 | + </div> |
| 22 | + {{- end -}} |
| 23 | +{{- end -}} |
0 commit comments