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; padding: 0;
} }
li:not(:first-child)::before { li::after {
color: var(--color-nav-separator); color: var(--color-nav-separator);
content: ":"; content: "/";
font-weight: bold;
justify-content: center; justify-content: center;
margin-inline-end: var(--spacing);
} }
} }
} }

View file

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