Use trailing / for sections in the site header

Just like `ls`.
This commit is contained in:
Eryn Wells 2024-08-01 18:22:25 -07:00
parent 8a00cc6de9
commit 1b463e35d8
2 changed files with 4 additions and 5 deletions

View file

@ -60,12 +60,10 @@
padding: 0;
}
li:not(:first-child)::before {
li::after {
color: var(--color-nav-separator);
content: ":";
font-weight: bold;
content: "/";
justify-content: center;
margin-inline-end: var(--spacing);
}
}
}

View file

@ -41,11 +41,12 @@ Renders a menu for the given menu ID.
{{- end }}
{{- end -}}
>{{ $name }}</a>
{{- "" -}}
{{- with .Children }}
<ul>
{{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }}
</ul>
{{- end }}
{{- end -}}
</li>
{{- end }}
{{- end }}