2024-04-27 03:39:10 +00:00
|
|
|
<nav class="navbar navbar-expand-xl navbar-light bg-light py-4">
|
|
|
|
<div class="container">
|
|
|
|
<a class="navbar-brand d-flex align-items-center" href="{{ .Site.BaseURL }}">
|
2024-05-02 01:37:22 +00:00
|
|
|
{{ partial "utilities/image.html" (dict "image" "images/logo.png" "alt" "an ice cream cone made of lambdas") }}
|
2024-04-27 03:39:10 +00:00
|
|
|
</a>
|
|
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarContent" aria-controls="navbarContent" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse" id="navbarContent">
|
|
|
|
<ul class="navbar-nav ms-auto mb-2 mb-xl-0">
|
|
|
|
{{ range .Site.Menus.main }}
|
|
|
|
<li class="nav-item text-center">
|
|
|
|
<a class="nav-link text-primary px-4" href="{{ .URL }}">{{ .Name }}</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
<ul class="navbar-nav ms-xl-3 mb-2 mb-xl-0">
|
|
|
|
{{ range .Site.Menus.buttons }}
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link btn btn-primary text-light px-4" href="{{ .URL }}">{{ .Name }}</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|