| 1 |
{{- if .IsPage -}} |
| 2 |
{{- $File := .File -}}{{ with $File.LogicalName }} {{ $srcref := add (add "docs/reference/content/" $File.Dir) $File.LogicalName }} |
| 3 |
<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> |
| 4 |
{{- end -}} |
| 5 |
{{- end -}} |
| 6 |
{{- $menuItemL6 := $.Scratch.Get "menu.Item.L6" -}} |
| 7 |
{{- $menuItemL5 := $.Scratch.Get "menu.Item.L5" -}} |
| 8 |
{{- $menuItemL4 := $.Scratch.Get "menu.Item.L4" -}} |
| 9 |
{{- $menuItemL3 := $.Scratch.Get "menu.Item.L3" -}} |
| 10 |
{{- $menuItemL2 := $.Scratch.Get "menu.Item.L2" -}} |
| 11 |
{{- $menuItemL1 := $.Scratch.Get "menu.Item.L1" -}} |
| 12 |
{{- $menuItemL0 := $.Scratch.Get "menu.Item.L0" -}} |
| 13 |
{{- if $menuItemL0 -}} |
| 14 |
<div class="bc"> |
| 15 |
<ul> |
| 16 |
{{- with $menuItemL6 -}}<li><a href="{{.URL}}">{{.Name}}</a> <i class="fa fa-angle-right"></i></li>{{- end -}} |
| 17 |
{{- with $menuItemL5 -}}<li><a href="{{.URL}}">{{.Name}}</a> <i class="fa fa-angle-right"></i></li>{{- end -}} |
| 18 |
{{- with $menuItemL4 -}}<li><a href="{{.URL}}">{{.Name}}</a> <i class="fa fa-angle-right"></i></li>{{- end -}} |
| 19 |
{{- with $menuItemL3 -}}<li><a href="{{.URL}}">{{.Name}}</a> <i class="fa fa-angle-right"></i></li>{{- end -}} |
| 20 |
{{- with $menuItemL2 -}}<li><a href="{{.URL}}">{{.Name}}</a> <i class="fa fa-angle-right"></i></li>{{- end -}} |
| 21 |
{{- with $menuItemL1 -}}<li><a href="{{.URL}}">{{.Name}}</a> <i class="fa fa-angle-right"></i></li>{{- end -}} |
| 22 |
<li>{{ $menuItemL0.Name }}</li> |
| 23 |
</ul> |
| 24 |
</div> |
| 25 |
{{- end -}} |