|
1 | 1 | <!doctype html> |
2 | 2 | <html itemscope itemtype="http://schema.org/WebPage" lang="{{ .Site.Language.Lang }}" class="no-js"> |
3 | | - <head> |
4 | | - {{ partial "head.html" . }} |
5 | | - </head> |
6 | | - <!-- DB – Check for numberless_headings --> |
7 | | - <body class="td-{{ .Kind }}{{ with .Page.Params.body_class }} {{ . }}{{ end }}{{ if .Params.numberless_headings }} numberless_headings{{ end }}"> |
8 | | -{{/* NK - deactivation of original navbar |
9 | | - <header> |
10 | | - {{ partial "navbar.html" . }} |
11 | | - </header> |
| 3 | + <head> |
| 4 | + {{ partial "head.html" . }} |
| 5 | + </head> |
| 6 | + <!-- DB – Check for numberless_headings --> |
| 7 | + <body class="td-{{ .Kind }}{{ with .Page.Params.body_class }} {{ . }}{{ end }}{{ if .Params.numberless_headings }} numberless_headings{{ end }}"> |
| 8 | +{{/* NK - deactivation of original navbar |
| 9 | + <header> |
| 10 | + {{ partial "navbar.html" . }} |
| 11 | + </header> |
12 | 12 | */}} |
13 | | - <div class="container-fluid td-outer"> |
14 | | - <div class="td-main"> |
15 | | - <div class="row flex-xl-nowrap stretch-main"> |
16 | | - <aside data-stt-ignore class="d-none d-lg-block col-lg-4 col-xl-3 td-sidebar d-print-none" data-proofer-ignore> <!-- NK - adjusted resizing for different screens/MvM - ignore for htmltest and translation --> |
17 | | - {{ partial "sidebar.html" . }} |
18 | | - </aside> |
19 | | - <aside data-stt-ignore class="d-none d-xl-block col-xl-3 td-sidebar-toc d-print-none" data-proofer-ignore> <!-- NK - adjusted resizing for different screens/MvM - ignore for htmltest and translation --> |
20 | | - {{ partial "page-meta-links.html" . }} |
21 | | - <!-- NK - insert of layout element for line break and ToC title --> |
22 | | - <span class="d-block p-2"> |
23 | | - <hr> |
24 | | - <a class="toc-title" href="{{ .Permalink }}">{{ .Title }}</a> <!-- NK - insert of title into ToC --> |
25 | | - </span> |
26 | | - {{ partial "toc.html" . }} |
27 | | - {{ partial "taxonomy_terms_clouds.html" . }} |
28 | | - </aside> |
29 | | - <main class="col-12 col-lg-8 col-xl-6" role="main"> <!-- NK - adjusted resizing for different screens --> |
30 | | - <!-- MvM - Do a test for missing Title --> |
31 | | - {{ if not .Title }} |
32 | | - {{ warnf "File %s \n\t\t\t\thas no title in the front matter\n " .Page.File.Path }} |
33 | | - {{ end }} |
34 | | - <!-- NK - START of addition of versions selector menu, |
35 | | - taken from themes\docsy\layouts\partials\navbar.html, |
36 | | - this might get moved again, with further styling changes --> |
37 | | - {{ if .Site.Params.versions }} |
38 | | - <li class="nav-item dropdown mr-4 d-none d-lg-block"> |
39 | | - {{ partial "navbar-version-selector.html" . }} |
40 | | - </li> |
41 | | - {{ end }} |
42 | | - <!-- END of addition --> |
43 | | - <!-- MvM: Move breadcrumb above banner --> |
44 | | - {{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }} |
45 | | - |
46 | | - {{ partial "version-banner.html" . }} |
47 | | - |
48 | | - {{ block "main" . }}{{ end }} |
49 | | - </main> |
50 | | - </div> |
51 | | - </div> |
52 | | - {{ partial "footer.html" . }} |
53 | | - </div> |
54 | | - {{ partial "scripts.html" . }} |
55 | | - </body> |
| 13 | + <div class="container-fluid td-outer"> |
| 14 | + <div class="td-main"> |
| 15 | + <div class="row flex-md-nowrap stretch-main"> |
| 16 | + <main class="col-12 col-md-8 col-lg-5 col-xl-6 order-md-2" role="main"> <!-- Adjusted: show sidebar at md, 3-col layout at lg+ --> |
| 17 | + <!-- Olu - Mobile header row: hamburger + breadcrumb/banner (mobile only) --> |
| 18 | + <div class="d-flex d-md-none align-items-center td-content"> |
| 19 | + <button id="td-mobile-sidebar-btn" class="btn btn-link p-0 me-2 align-self-center" aria-label="Open sidebar"> |
| 20 | + <span class="fas fa-bars text-dark fs-4 fa-fw" aria-hidden="true"></span> |
| 21 | + <span class="sr-only">Menu</span> |
| 22 | + </button> |
| 23 | + <div class="flex-grow-1"> |
| 24 | + {{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }} |
| 25 | + {{ partial "version-banner.html" . }} |
| 26 | + </div> |
| 27 | + </div> |
| 28 | + <!-- MvM - Do a test for missing Title --> |
| 29 | + {{ if not .Title }} |
| 30 | + {{ warnf "File %s \n\t\t\t\thas no title in the front matter\n " .Page.File.Path }} |
| 31 | + {{ end }} |
| 32 | + <!-- NK - START of addition of versions selector menu, |
| 33 | + taken from themes\docsy\layouts\partials\navbar.html, |
| 34 | + this might get moved again, with further styling changes --> |
| 35 | + {{ if .Site.Params.versions }} |
| 36 | + <li class="nav-item dropdown mr-4 d-none d-md-block"> |
| 37 | + {{ partial "navbar-version-selector.html" . }} |
| 38 | + </li> |
| 39 | + {{ end }} |
| 40 | + <!-- END of addition --> |
| 41 | + <!-- MvM: Move breadcrumb above banner (tablet and up) --> |
| 42 | + <div class="d-none d-md-block w-100"> |
| 43 | + {{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }} |
| 44 | + {{ partial "version-banner.html" . }} |
| 45 | + </div> |
| 46 | + |
| 47 | + {{ block "main" . }}{{ end }} |
| 48 | + </main> |
| 49 | + <aside data-stt-ignore class="d-none d-md-block col-md-4 col-lg-4 col-xl-3 td-sidebar d-print-none order-md-1" data-proofer-ignore> <!-- Show sidebar at md+ --> |
| 50 | + {{ partial "sidebar.html" . }} |
| 51 | + </aside> |
| 52 | + <aside data-stt-ignore class="d-none d-lg-block col-lg-3 col-xl-3 td-sidebar-toc d-print-none order-lg-3" data-proofer-ignore> <!-- Show ToC at lg+ --> |
| 53 | + {{ partial "page-meta-links.html" . }} |
| 54 | + <!-- NK - insert of layout element for line break and ToC title --> |
| 55 | + <span class="d-block p-2"> |
| 56 | + <hr> |
| 57 | + <a class="toc-title" href="{{ .Permalink }}">{{ .Title }}</a> <!-- NK - insert of title into ToC --> |
| 58 | + </span> |
| 59 | + {{ partial "toc.html" . }} |
| 60 | + {{ partial "taxonomy_terms_clouds.html" . }} |
| 61 | + </aside> |
| 62 | + </div> |
| 63 | + </div> |
| 64 | + <div id="td-sidebar-overlay" class="td-sidebar-overlay d-md-none" aria-hidden="true"></div> |
| 65 | + {{ partial "footer.html" . }} |
| 66 | + </div> |
| 67 | + {{ partial "scripts.html" . }} |
| 68 | + </body> |
56 | 69 | </html> |
| 70 | + |
0 commit comments