Recolor and p readjust
This commit is contained in:
Binary file not shown.
@@ -12,6 +12,7 @@
|
||||
<li class="pattern">
|
||||
{{ $active := or ($current.IsMenuCurrent "nav" .) ($current.HasMenuCurrent "nav" .) }}
|
||||
{{ $active = or $active (eq .Name $current.Title) }}
|
||||
{{ $active = or $active (and (eq .Name "Home") (eq $current.Section "")) }}
|
||||
{{ $active = or $active (and (eq .Name "Blog") (eq $current.Section "post")) }}
|
||||
{{ $active = or $active (and (eq .Name "Tags") (eq $current.Section "tags")) }}
|
||||
<a href="{{ .URL }}" {{ if $active }}aria-current="page"{{ end }}>
|
||||
@@ -23,4 +24,4 @@
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user