lauralani
85d971d3bd
All checks were successful
ci/woodpecker/push/deploy-netlify Pipeline was successful
15 lines
No EOL
542 B
HTML
15 lines
No EOL
542 B
HTML
<nav>
|
|
<div class="hero-text float-left"><a href="/" class="nav-link special">{{ .Site.Title }}</a></div>
|
|
<div class="float-right">
|
|
{{ $currentPage := . }}
|
|
{{- range site.Menus.main -}}
|
|
{{- $menu_item_url := .URL -}}
|
|
{{- $page_url:= $currentPage.RelPermalink -}}
|
|
{{- if eq $menu_item_url $page_url -}}
|
|
<a href="{{ .URL }}" class="disabled" aria-current="page">{{ .Name }}</a>
|
|
{{- else -}}
|
|
<a href="{{ .URL }}" class="nav-link">{{ .Name }}</a>
|
|
{{- end -}}
|
|
{{- end }}
|
|
</div>
|
|
</nav> |