File: contentHeader.html

package info (click to toggle)
mongo-java-driver 3.6.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 16,112 kB
  • sloc: java: 102,506; xml: 395; sh: 43; makefile: 4
file content (25 lines) | stat: -rw-r--r-- 1,598 bytes parent folder | download
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
{{- if .IsPage -}}
{{- $File := .File -}}{{ with $File.LogicalName }} {{ $srcref := add (add "docs/reference/content/" $File.Dir) $File.LogicalName }}
<a class="edit-link" href="https://github.com/mongodb/{{ $.Site.Data.mongodb.githubRepo }}/blob/{{ $.Site.Data.mongodb.githubBranch }}/{{ $srcref }}" target="_blank" title="Edit {{ $File.Dir }}{{ $File.LogicalName }} on GitHub"><i class="fa fa-pencil-square-o"></i></a>
{{- end -}}
{{- end -}}
{{- $menuItemL6  := $.Scratch.Get "menu.Item.L6" -}}
{{- $menuItemL5  := $.Scratch.Get "menu.Item.L5" -}}
{{- $menuItemL4  := $.Scratch.Get "menu.Item.L4" -}}
{{- $menuItemL3  := $.Scratch.Get "menu.Item.L3" -}}
{{- $menuItemL2  := $.Scratch.Get "menu.Item.L2" -}}
{{- $menuItemL1  := $.Scratch.Get "menu.Item.L1" -}}
{{- $menuItemL0  := $.Scratch.Get "menu.Item.L0" -}}
{{- if $menuItemL0 -}}
<div class="bc">
<ul>
  {{- with $menuItemL6 -}}<li><a href="{{.URL}}">{{.Name}}</a> <i class="fa fa-angle-right"></i></li>{{- end -}}
  {{- with $menuItemL5 -}}<li><a href="{{.URL}}">{{.Name}}</a> <i class="fa fa-angle-right"></i></li>{{- end -}}
  {{- with $menuItemL4 -}}<li><a href="{{.URL}}">{{.Name}}</a> <i class="fa fa-angle-right"></i></li>{{- end -}}
  {{- with $menuItemL3 -}}<li><a href="{{.URL}}">{{.Name}}</a> <i class="fa fa-angle-right"></i></li>{{- end -}}
  {{- with $menuItemL2 -}}<li><a href="{{.URL}}">{{.Name}}</a> <i class="fa fa-angle-right"></i></li>{{- end -}}
  {{- with $menuItemL1 -}}<li><a href="{{.URL}}">{{.Name}}</a> <i class="fa fa-angle-right"></i></li>{{- end -}}
  <li>{{ $menuItemL0.Name }}</li>
</ul>
</div>
{{- end -}}