blob: 46c95307ae0aeace946ede0c87b208a084434b23 (
plain)
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
|
<nav class="mb-3 mt-3 ml-1">
<div class="d-flex flex-row">
<div class="menu-item">
<a
href="{{ `/` | relURL }}"
class="border border-warning bg-dark p-2"
style="border-top-left-radius: 10px; border-bottom-left-radius: 10px;"
><span>Home</span>
</a>
</div>
<div class="menu-item dropdown">
<span class="dropbtn border border-warning bg-dark p-2 text-warning"
>Sections <i class="fas fa-angle-down"></i
></span>
<div class="dropdown-content p-2 bg-dark2 mt-2 rounded w-auto mt-1" style="min-width: 200px;">
<ul class="list-unstyled">
{{ range .Site.Sections.ByWeight }}
{{ $thisSection := replace (replace .File.Dir "\\" "") "/" "" }}
{{ if not (in (slice "alltaxa" "archive") $thisSection) }}
<li class="pt-2">
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>
{{ end }}
{{ end }}
</ul>
</div>
</div>
<div class="menu-item">
<a
href="{{ `/alltaxa/` | relURL }}"
class="border border-warning bg-dark p-2"
><span>Taxa</span>
</a>
</div>
<div class="menu-item">
<a
href="{{ `/archive/` | relURL }}"
class="border border-warning bg-dark p-2"
style="border-top-right-radius: 10px; border-bottom-right-radius: 10px;"
><span>Archive</span>
</a>
</div>
</div>
</nav>
|