blob: 5c59db1cfaba0dde8cc80c1b8abe0b11b457ccd0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{{ partial "header.html" . }}
</header>
<div id="contents" class="two_col">
<div class="container">
<div class="row">
<div class="span9 maincol">
<h1 class="lined-header"><span>Documentation</span></h1>
{{ range $k, $project := $.Site.Data.projects }}
{{ if .external_site }}
<h2 id="{{ .name }}">{{ .title }}</h2>
<ul><li><a href="{{ .external_site }}">Official website</a></li></ul>
{{ end }}
{{ if or .has_guide .has_manual }}
<h2 id="{{ .name }}">{{ .title }}</h2>
<ul>
{{ range .versions }}
{{ if $project.has_guide }}
<li><a href="/docs/en/{{ $project.name }}/{{ . }}/guide">{{ $project.title }} {{ . }} User Guide</a></li>
{{ end }}
{{ if $project.has_manual }}
<li><a href="/docs/en/{{ $project.name }}/{{ . }}/manual">{{ $project.title }} {{ . }} Function Reference</a></li>
{{ end }}
{{ end }}
</ul>
{{ end }}
{{ end }}
</div>
<div class="span3 sidecol">
<h3>Navigation</h3>
<ul>
{{ range $.Site.Data.projects }}
{{ if or .external_site .has_guide .has_manual }}
<li><a href="#{{ .name }}">{{ .title }}</a></li>
{{ end }}
{{ end }}
</ul>
{{ .Content }}
</div>
</div>
</div>
</div>
{{ partial "footer.html" . }}
|