|
1 | 1 | <!doctype html> |
2 | | -<html lang="{{- or site.Language.LanguageCode }}" dir="{{- or site.Language.LanguageDirection `ltr` }}"> |
| 2 | +<html lang="{{ .Site.Language.LanguageCode | default "en" }}" dir="{{ .Site.Language.LanguageDirection | default "ltr" }}"> |
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8" /> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 6 | + |
| 7 | + <title>{{ .Title }} | {{ .Site.Title }}</title> |
| 8 | + <meta name="description" content="{{ (.Summary | default .Site.Params.description) | plainify }}" /> |
| 9 | + <meta name="keywords" content="{{ .Keywords | default .Site.Params.keywords }}" /> |
| 10 | + <link rel="canonical" href="{{ .Site.Params.siteProdUrl }}{{ .RelPermalink }}" /> |
| 11 | + <meta property="og:title" content="{{ .Title }}" /> |
| 12 | + <meta name="giscus:backlink" content="{{ .Site.Params.siteProdUrl }}{{ .RelPermalink }}" /> |
| 13 | + <meta name="giscus:description" content="{{ .Summary }}" /> |
| 14 | + <meta name="license" content="© {{ now.Format "2006" }} Killed By Scrum.org." /> |
| 15 | + |
6 | 16 | <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-4Q6Gf2aSP4eDXB8Miphtr37CMZZQ5oXLH2yaXMJ2w8e2ZtHTl7GptT4jmndRuHDT" crossorigin="anonymous" /> |
7 | 17 | <link rel="stylesheet" href="/css/style.css" /> |
8 | 18 | <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/js/bootstrap.bundle.min.js" integrity="sha384-j1CDi7MgGQ12Z7Qab0qlWQ/Qqz24Gc6BM0thvEMVjHnfYGF0rmFCozFSxQBxwHKO" crossorigin="anonymous"></script> |
9 | | - <title>{{ .Title }} | {{ .Site.Title }}</title> |
10 | | - <meta name="description" content="{{- (.Summary | default .Site.Params.description) | plainify }}" /> |
11 | | - <meta name="keywords" content="{{- .Keywords | default .Site.Params.keywords }}" /> |
12 | | - <link rel="canonical" href="{{- .Site.Params.siteProdUrl }}{{- .RelPermalink }}" /> |
13 | | - <meta property="og:title" content="{{ .Title }}" /> |
14 | | - <meta name="giscus:backlink" content="{{- .Site.Params.siteProdUrl }}{{- .RelPermalink }}" /> |
15 | | - <meta name="giscus:description" content="{{- .Summary }}" /> |
16 | | - <meta name="license" content="© {{- now.Format "2006" }} Killed By Scrum.org." /> |
17 | 19 | <script src="https://kit.fontawesome.com/3e6b2f4808.js" crossorigin="anonymous"></script> |
18 | 20 | </head> |
19 | | - <body data-ndka-environment="{{- hugo.Environment }}" data-ndka-version="v#{GitVersion.SemVer}#"> |
20 | | - <!-- Scripts --> |
| 21 | + |
| 22 | + <body data-ndka-environment="{{ hugo.Environment }}" data-ndka-version="{{ .Site.Params.version | default "v0.0.0" }}"> |
21 | 23 | {{ if ne hugo.Environment "production" }} |
22 | | - <div class="container-fluid text-center p-2 bg-{{- hugo.Environment }}"> |
| 24 | + <div class="container-fluid text-center p-2 bg-{{ hugo.Environment }}"> |
23 | 25 | {{ if .Page.Draft }}!!DRAFT!! |{{ end }} |
24 | 26 | {{ if eq hugo.Environment "development" }} |
25 | 27 | Local | v0.0.0 | No Robots |
26 | 28 | {{ else }} |
27 | | - #{ScrumGuidesExpansionPack_AzureSitesConfig}# | v#{GitVersion.SemVer}# | No Robots |
| 29 | + {{ .Site.Params.buildInfo | default "No Build Info" }} | v{{ .Site.Params.version | default "v0.0.0" }} | No Robots |
28 | 30 | {{ end }} |
29 | | - | <a href="#debugArea" class="">Debug Info</a> |
| 31 | + | <a href="#debugArea">Debug Info</a> |
30 | 32 | </div> |
31 | 33 | {{ end }} |
32 | | - {{- block "header" . }} |
33 | | - <!-- HEADER --> |
34 | | - <div class="container-flex navbar-dark"> |
35 | | - <header class="container d-flex flex-wrap justify-content-center py-3 mb-4 border-bottom"> |
36 | | - <a href="/" class="d-flex align-items-center mb-3 mb-md-0 me-md-auto link-body-emphasis text-decoration-none"> |
37 | | - <svg class="bi me-2" width="40" height="32" aria-hidden="true"><use xlink:href="#bootstrap"></use></svg> |
38 | | - <span class="fs-4">{{ .Site.Title }}</span> </a> |
| 34 | + |
| 35 | + {{ block "header" . }} |
| 36 | + <header class="bg-dark text-white mb-4"> |
| 37 | + <div class="container d-flex flex-wrap justify-content-between align-items-center py-3"> |
| 38 | + <a href="/" class="d-flex align-items-center text-white text-decoration-none"> |
| 39 | + <svg class="bi me-2" width="40" height="32" aria-hidden="true"><use xlink:href="#bootstrap"></use></svg> |
| 40 | + <span class="fs-4">{{ .Site.Title }}</span> |
| 41 | + </a> |
39 | 42 | <ul class="nav nav-pills"> |
40 | | - <li class="nav-item"><a href="#" class="nav-link active" aria-current="page">Home</a></li> |
41 | | - <li class="nav-item"><a href="#" class="nav-link">Features</a></li> |
42 | | - <li class="nav-item"><a href="#" class="nav-link">Pricing</a></li> |
43 | | - <li class="nav-item"><a href="#" class="nav-link">FAQs</a></li> |
44 | | - <li class="nav-item"><a href="#" class="nav-link">About</a></li> |
45 | | - </ul> |
46 | | - </header> |
47 | | - </div> |
48 | | - {{- end }} |
| 43 | + <li class="nav-item"><a href="#" class="nav-link active">Home</a></li> |
| 44 | + <li class="nav-item"><a href="#" class="nav-link">Features</a></li> |
| 45 | + <li class="nav-item"><a href="#" class="nav-link">Pricing</a></li> |
| 46 | + <li class="nav-item"><a href="#" class="nav-link">FAQs</a></li> |
| 47 | + <li class="nav-item"><a href="#" class="nav-link">About</a></li> |
| 48 | + </ul> |
| 49 | + </div> |
| 50 | + </header> |
| 51 | + {{ end }} |
| 52 | + |
| 53 | + |
49 | 54 | <main> |
50 | | - {{- block "main" . }} |
51 | | - <section class="section">main</section> |
52 | | - {{- end }} |
53 | | - </main> {{- block "footer" . }} |
54 | | - <footer class="footer bg-dark text-white p-4"> |
55 | | - <section class="section container align-items-center mb-4"> |
56 | | -© {{ now.Format "2006" }} {{ .Site.Title }}. All rights reserved. |
| 55 | + {{ block "main" . }} |
| 56 | + <section class="container py-4"> |
| 57 | + <p>Main content goes here.</p> |
57 | 58 | </section> |
| 59 | + {{ end }} |
| 60 | + </main> |
| 61 | + |
| 62 | + {{ block "footer" . }} |
| 63 | + <footer class="footer bg-dark text-white p-4 mt-auto"> |
| 64 | + <div class="container text-center">© {{ now.Format "2006" }} {{ .Site.Title }}. All rights reserved.</div> |
58 | 65 | </footer> |
59 | | - {{- end }} |
| 66 | + {{ end }} |
60 | 67 |
|
61 | | - {{- if ne hugo.Environment "production" }} |
62 | | - <div id="debugArea" class="container-fluid p-2 bg-brand-{{- hugo.Environment }}"> |
63 | | - <section class="container my-2"> |
| 68 | + {{ if ne hugo.Environment "production" }} |
| 69 | + <div id="debugArea" class="container-fluid p-2 bg-secondary-subtle"> |
| 70 | + <div class="container my-2"> |
64 | 71 | <button class="btn btn-primary mb-3" type="button" data-bs-toggle="collapse" data-bs-target="#debugSection" aria-expanded="false" aria-controls="debugSection">Show Debug Information</button> |
65 | | - |
66 | 72 | <div class="collapse" id="debugSection"> |
67 | | - <p>This is content visible only in development.</p> |
68 | 73 | <table class="table table-striped table-bordered"> |
69 | 74 | <thead> |
70 | 75 | <tr> |
|
74 | 79 | </thead> |
75 | 80 | <tbody> |
76 | 81 | <tr> |
77 | | - <td>debug</td> |
78 | | - <td><pre>{{- debug.Dump .Params }}</pre></td> |
79 | | - </tr> |
80 | | - <tr> |
81 | | - <td>This Page</td> |
82 | | - <td>Template not set</td> |
83 | | - </tr> |
84 | | - <tr> |
85 | | - <td>Template</td> |
86 | | - <td>{{- block "template" . }}{{- end }}</td> |
| 82 | + <td>Params</td> |
| 83 | + <td><pre>{{ debug.Dump .Params }}</pre></td> |
87 | 84 | </tr> |
88 | 85 | <tr> |
89 | 86 | <td>Layout</td> |
90 | | - <td>{{- .Layout }}</td> |
| 87 | + <td>{{ .Layout }}</td> |
91 | 88 | </tr> |
92 | 89 | <tr> |
93 | 90 | <td>Kind</td> |
94 | | - <td>{{- .Kind }}</td> |
| 91 | + <td>{{ .Kind }}</td> |
95 | 92 | </tr> |
96 | 93 | <tr> |
97 | 94 | <td>Type</td> |
98 | | - <td>{{- .Type }}</td> |
| 95 | + <td>{{ .Type }}</td> |
99 | 96 | </tr> |
100 | 97 | <tr> |
101 | 98 | <td>Section</td> |
102 | | - <td>{{- .Section }}</td> |
| 99 | + <td>{{ .Section }}</td> |
103 | 100 | </tr> |
104 | 101 | <tr> |
105 | 102 | <td>CurrentSection</td> |
106 | | - <td>{{- .CurrentSection }}</td> |
107 | | - </tr> |
108 | | - <tr> |
109 | | - <td>Section Info</td> |
110 | | - <td> |
111 | | - {{- if and .IsSection .Parent }} |
112 | | - <p>This is a subsection (child section of {{- .Parent.Title }}).</p> |
113 | | - {{- else if .IsSection }} |
114 | | - <p>This is a top-level section.</p> |
115 | | - {{- end }} |
116 | | - </td> |
| 103 | + <td>{{ .CurrentSection }}</td> |
117 | 104 | </tr> |
118 | 105 | <tr> |
119 | 106 | <td>Child Sections</td> |
120 | 107 | <td> |
121 | | - {{- if gt (len .Sections) 0 }} |
122 | | - <p>This section has child sections.</p> |
| 108 | + {{ if .Sections }} |
123 | 109 | <ul> |
124 | | - {{- range .Sections }} |
125 | | - <li><a href="{{- .Permalink }}">{{- .Title }}</a></li> |
126 | | - {{- end }} |
| 110 | + {{ range .Sections }} |
| 111 | + <li><a href="{{ .Permalink }}">{{ .Title }}</a></li> |
| 112 | + {{ end }} |
127 | 113 | </ul> |
128 | | - {{- else }} |
129 | | - <p>This section has no child sections.</p> |
130 | | - {{- end }} |
131 | | - </td> |
132 | | - </tr> |
133 | | - <tr> |
134 | | - <td>Ancestors</td> |
135 | | - <td> |
136 | | - <ol> |
137 | | - {{- range .Ancestors.Reverse }} |
138 | | - <li><a href="{{- .Permalink }}">{{- .Title }}</a></li> |
139 | | - {{- end }} |
140 | | - <li>{{- .Title }}</li> |
141 | | - </ol> |
142 | | - </td> |
143 | | - </tr> |
144 | | - <tr> |
145 | | - <td>Subsections</td> |
146 | | - <td> |
147 | | - <ul> |
148 | | - {{- range .Sections }} |
149 | | - <li> |
150 | | - <a href="{{- .Permalink }}">{{- .Title }}</a> () |
151 | | - {{- if .IsSection }} |
152 | | - <ul> |
153 | | - {{- range .Sections }} |
154 | | - <li><a href="{{- .Permalink }}">{{- .Title }}</a></li> |
155 | | - {{- end }} |
156 | | - </ul> |
157 | | - {{- end }} |
158 | | - </li> |
159 | | - {{- end }} |
160 | | - </ul> |
| 114 | + {{ else }} |
| 115 | + <p>No child sections.</p> |
| 116 | + {{ end }} |
161 | 117 | </td> |
162 | 118 | </tr> |
163 | 119 | <tr> |
164 | 120 | <td>Pages</td> |
165 | 121 | <td> |
166 | | - <ul> |
167 | | - {{- $groups := .Pages.GroupBy "Type" }} |
168 | | - {{- range $groups }} |
169 | | - <li> |
170 | | - {{- .Key }} |
171 | | - <ul> |
172 | | - {{- range .Pages }} |
173 | | - <li> |
174 | | - <a href="{{- .Permalink }}">{{- .Title }}</a> |
175 | | - [Type: {{- .Type }}] |
176 | | - {{- if .Layout }}[Layout: {{- .Layout }}]{{- end }} |
177 | | - </li> |
178 | | - {{- end }} |
179 | | - </ul> |
180 | | - </li> |
181 | | - {{- end }} |
182 | | - </ul> |
| 122 | + {{ $groups := .Pages.GroupBy "Type" }} |
| 123 | + {{ range $groups }} |
| 124 | + <strong>{{ .Key }}</strong> |
| 125 | + <ul> |
| 126 | + {{ range .Pages }} |
| 127 | + <li> |
| 128 | + <a href="{{ .Permalink }}">{{ .Title }}</a> |
| 129 | + [Type: {{ .Type }}{{ if .Layout }}, Layout: {{ .Layout }}{{ end }}] |
| 130 | + </li> |
| 131 | + {{ end }} |
| 132 | + </ul> |
| 133 | + {{ end }} |
183 | 134 | </td> |
184 | 135 | </tr> |
185 | 136 | </tbody> |
186 | | - </table> </div> |
187 | | - </section> |
| 137 | + </table> |
| 138 | + </div> |
| 139 | + </div> |
188 | 140 | </div> |
189 | 141 | {{ end }} |
| 142 | + </body> |
190 | 143 | </html> |
0 commit comments