Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@
</header>
<div class="container-fluid td-outer">
<div class="td-main">
{{ partial "navbar-breadcrumb.html" . }}
<div class="row flex-xl-nowrap">
<div class="col-12 col-lg-4 col-xl-3 td-sidebar d-print-none">
{{ partial "sidebar.html" . }}
</div>
<div class="d-none d-xl-block col-xl-2 td-toc d-print-none">
{{ partial "toc.html" . }}
</div>
<main class="col-12 col-lg-8 col-xl-7 pl-lg-5 ps-lg-5" role="main" id="main-content" aria-label="Article content">
{{ partial "version-banner.html" . }}
Expand All @@ -43,6 +40,8 @@ <h1>DRAFT</h1>
</div>
{{ partial "custom-scripts.html" . }}
{{ partial "scripts.html" . }}
{{ partial "search.html" . }}
{{ if ne .Page.Params.type "search-results" }}
{{ partial "search.html" . }}
{{ end }}
</body>
</html>
2 changes: 2 additions & 0 deletions layouts/partials/sidebar-tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
{{ else }}
{{ $root = .FirstSection }}
{{ end }}
{{ if $root }}
{{ template "root-link" (dict "currentPage" . "root" $root "site" .Site) }}
{{ template "section-tree-nav-sections" (dict "root" $root.CurrentSection.Pages "currentPage" . "site" .Site) }}
{{ end }}
{{ if $additionalNavRoot }}
{{ template "section-tree-nav-sections" (dict "root" $additionalNavRoot.CurrentSection.Pages "currentPage" . "site" .Site) }}
{{ end }}