2023-03-19 01:33:12 +00:00
|
|
|
{{ $millironx := resources.Get "graphics/millironx.svg" }}
|
2023-03-19 01:53:07 +00:00
|
|
|
{{ $currentPage := . }}
|
2023-03-19 01:33:12 +00:00
|
|
|
<aside class="col-12 col-md-3 p-0 bg-dark flex-shrink-1">
|
|
|
|
<nav
|
|
|
|
class="navbar navbar-expand-md navbar-dark bg-dark align-items-start flex-md-column flex-row"
|
|
|
|
>
|
|
|
|
<div class="container-fluid">
|
|
|
|
<a class="navbar-brand d-block d-md-none" href="#">
|
|
|
|
<object
|
|
|
|
class="d-inline-block align-text-top"
|
|
|
|
width="80"
|
|
|
|
height="24"
|
|
|
|
style="filter: invert(100%)"
|
|
|
|
data="{{ $millironx.RelPermalink }}"
|
|
|
|
>
|
|
|
|
<img src="{{ $millironx.RelPermalink }}" alt="Milliron X" />
|
|
|
|
</object>
|
|
|
|
 
|
|
|
|
<span class="font-small-caps font-serif">Milliron X</span>
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
href
|
|
|
|
class="navbar-toggler"
|
|
|
|
data-bs-toggle="collapse"
|
|
|
|
data-bs-target=".sidebar"
|
|
|
|
>
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</a>
|
|
|
|
<div class="collapse navbar-collapse sidebar">
|
|
|
|
<ul class="flex-column navbar-nav w-100 justify-content-between">
|
2023-03-19 01:53:07 +00:00
|
|
|
{{ range .Site.Menus.main }}
|
|
|
|
<li class="nav-item">
|
|
|
|
<a
|
|
|
|
class="nav-link pl-0 {{ if $currentPage.IsMenuCurrent "main" . }}
|
|
|
|
active
|
|
|
|
{{ end }}"
|
|
|
|
href="{{ .URL }}"
|
|
|
|
>
|
|
|
|
<i class="{{ .Params.prefix }} {{ .Params.icon }} fa-fw"></i>
|
|
|
|
{{ .Name }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
2023-03-19 01:33:12 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
</aside>
|