mirror of https://github.com/istio/istio.io.git
36 lines
896 B
HTML
36 lines
896 B
HTML
{{ define "main" }}
|
|
|
|
{{ partial "primary_top.html" . }}
|
|
|
|
{{ $questions := .Resources.ByType "page" }}
|
|
{{ $sorted_questions := sort $questions ".Params.weight" }}
|
|
|
|
<nav class="toc-inlined toc-forced">
|
|
<hr/>
|
|
<div class="directory" role="directory">
|
|
<nav id="InlineTableOfContents">
|
|
<ol>
|
|
{{ range $q := $sorted_questions }}
|
|
<li role="none" aria-label="{{ $q.Title }}"><a href="#{{ $q.File.BaseFileName | urlize }}">{{ $q.Title }}</a></li>
|
|
{{ end }}
|
|
</ol>
|
|
</nav>
|
|
</div>
|
|
<hr/>
|
|
</nav>
|
|
|
|
{{ .Content }}
|
|
|
|
<div class="faq">
|
|
{{ range $q := $sorted_questions }}
|
|
<h5 id="{{ $q.File.BaseFileName | urlize }}" class="question">{{ $q.Title }}</h5>
|
|
<div class="answer">
|
|
{{ $q.Content }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
|
|
{{ partial "primary_bottom.html" . }}
|
|
|
|
{{ end }}
|