}
nav {
+ display: flex;
+ justify-content: space-between;
grid-area: navbar;
background-color: var(--bgColorDark);
width: 100%;
}
+nav div {
+ display: flex;
+ align-self: center;
+ flex-flow: nowrap;
+ width: 100%;
+}
+
nav ul {
display: flex;
flex-flow: row nowrap;
align-items: center;
- justify-content: space-between;
+ justify-content: flex-end;
list-style-type: none;
width: 100%;
height: 100%;
{{ "<!-- Partial block for navbar -->" | safeHTML }}
<nav>
- <ul>
{{ with .Site.GetPage "home" }}
- <li><a class="hover" href="{{ .Permalink }}">{{ .Title }}</a></li>
+ <div> <img src=".params.homeIcon|abs url" alt=""> <a class="hover" href="{{ .Permalink }}">{{ .Title }}</a></div>
{{ end }}
+
+ <ul>
+
{{ range .Site.Sections }}
<li><a class="hover" href="{{ .Permalink }}">{{ .Title }}</a></li>
{{ end }}