Remove resume from site menu and sort blog first

This commit is contained in:
Eryn Wells 2022-10-09 13:33:01 -07:00
parent 71ffafcff5
commit dca0f2e7e5
2 changed files with 6 additions and 9 deletions

View file

@ -8,13 +8,13 @@
{{ $url := .RelPermalink }}
{{ with site.Menus.main }}
<nav class="site bulleted">
{{ range . }}
{{ if eq .URL $url }}
{{- range . -}}
{{- if eq .URL $url -}}
<li class="active"><span>{{ .Name }}</span></li>
{{ else }}
{{- else -}}
<li><a href="{{ .URL }}"><span>{{ .Name }}</span></a></li>
{{ end }}
{{ end }}
{{- end -}}
{{- end -}}
</nav>
{{ end }}