2020-09-19 11:28:47 -07:00
|
|
|
{{ define "main" }}
|
|
|
|
{{ $modulePath := path.Split (path.Dir .Path) }}
|
|
|
|
{{ $module := .GetPage (path.Dir (string $modulePath)) }}
|
|
|
|
|
2022-06-01 10:58:20 -07:00
|
|
|
|
2020-09-19 11:28:47 -07:00
|
|
|
<div class="container mx-auto flex items-start px-4 md:px-0">
|
2021-07-29 08:59:09 -07:00
|
|
|
<div class="md:w-3/12 my-8 sticky-sidebar md:pr-8">
|
2020-09-19 11:28:47 -07:00
|
|
|
<nav>
|
|
|
|
{{ partial "learn/topics" (dict "context" . "topic" . "module" $module "mode" "sidebar") }}
|
|
|
|
</nav>
|
2022-06-01 10:58:20 -07:00
|
|
|
{{ partial "learn/topic-links" (dict "context" .) }}
|
2020-09-19 11:28:47 -07:00
|
|
|
</div>
|
2021-07-29 08:59:09 -07:00
|
|
|
<div class="md:w-7/12 my-8">
|
2020-09-19 11:28:47 -07:00
|
|
|
<header class="container mx-auto">
|
|
|
|
{{ partial "docs/breadcrumb.html" . }}
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
</header>
|
|
|
|
<section class="container mx-auto my-8">
|
|
|
|
{{ .Content }}
|
|
|
|
</section>
|
|
|
|
{{ partial "learn/topics-next-prev" (dict "context" . "topic" . "module" $module) }}
|
2021-11-08 16:04:20 -06:00
|
|
|
<div>
|
|
|
|
{{ partial "docs/feedback.html" . }}
|
|
|
|
</div>
|
2020-09-19 11:28:47 -07:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="md:w-2/12 md:ml-8 m8-8 ">
|
2021-11-08 16:04:20 -06:00
|
|
|
<!-- TODO: Move feedback here once wiring is complete -->
|
|
|
|
<!-- <div>
|
|
|
|
{{ partial "docs/feedback.html" . }}
|
|
|
|
</div> -->
|
2020-09-19 11:28:47 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|