- 2.1: packs/ -> archive/packs/ - 2.2: site/ -> archive/site/ - 2.3: src/lab/ -> archive/lab/ - 2.4: examples/ -> archive/examples-legacy/ (SSI-based)
40 lines
911 B
HTML
40 lines
911 B
HTML
{{ define "content" }}
|
|
<section data-layout="console">
|
|
|
|
<nav aria-label="Documentation" data-nav="sidebar">
|
|
{{- $top := .FirstSection -}}
|
|
{{- range $top.Sections.ByWeight -}}
|
|
<h3>{{ .Title }}</h3>
|
|
<ul>
|
|
{{- range .RegularPages.ByWeight -}}
|
|
<li>
|
|
<a href="{{ .RelPermalink }}"
|
|
{{- if eq .RelPermalink $.RelPermalink }} aria-current="page"{{ end -}}>
|
|
{{- .LinkTitle -}}
|
|
</a>
|
|
</li>
|
|
{{- end -}}
|
|
</ul>
|
|
{{- end -}}
|
|
</nav>
|
|
|
|
<article>
|
|
<header>
|
|
<h1>{{ .Title }}</h1>
|
|
{{- with .Description }}
|
|
<p>{{ . }}</p>
|
|
{{- end }}
|
|
</header>
|
|
|
|
{{ .Content }}
|
|
</article>
|
|
|
|
{{- with .TableOfContents -}}
|
|
<aside data-toc>
|
|
<h3>{{ i18n "onThisPage" | default "On this page" }}</h3>
|
|
{{ . }}
|
|
</aside>
|
|
{{- end -}}
|
|
|
|
</section>
|
|
{{ end }}
|