blob: 8fbc9ba93d23a3995846a2efbb4824fb7c422e1b (
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
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container">
<a class="navbar-brand" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown"
aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="{{ .Site.BaseURL }}#home">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ .Site.BaseURL }}#about">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ .Site.BaseURL }}#projects">Projects</a>
</li>
{{ range site.Params.customMenus }}
<li class="nav-item">
<a class="nav-link" href="{{ .Site.BaseURL }}{{.url}}">{{ .name }}</a>
</li>
{{ end }}
</ul>
</div>
</div>
</nav>
|