Skip to content

Commit

Permalink
style: prettier format all files
Browse files Browse the repository at this point in the history
  • Loading branch information
lxndrblz authored and github-actions[bot] committed May 13, 2022
1 parent 1959fa6 commit 741ea6f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<ul class="nav__list" id="navMenu">
{{ $url := .RelPermalink }}
{{ range $menuId, $menuItem := .Site.Menus.main }}
{{ $active := eq $url $menuItem.URL }}
{{ $active := eq $url $menuItem.URL }}
{{ if $menuItem.HasChildren }}

<li class="nav__list-item">
<div class="optionswitch">
<input class="optionswitch__picker" type="checkbox" id="{{ $menuId }}" hidden />
Expand All @@ -28,10 +28,13 @@
{{ if eq $url .URL }}
{{ $labelClass = "optionswitch__label nav__link--active" }}


{{ end }}


{{ end }}


<label class="{{ $labelClass }}" for="{{ $menuId }}"
>{{ $menuItem.Name }} <i class="fa fa-angle-down" aria-hidden="true"></i
></label>
Expand Down

0 comments on commit 741ea6f

Please sign in to comment.