Skip to content

Commit

Permalink
Merge pull request #603 from andrea-kyurchiev/fix/bring-end-tag-on-on…
Browse files Browse the repository at this point in the history
…e-line

fixes tag being carried over causing the build to fail
  • Loading branch information
andrea-kyurchiev authored Aug 15, 2023
2 parents 465ce2d + da79475 commit ccab43f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@
{{ range site.Menus.main }}
{{ if .HasChildren }}
<li class="nav-item dropdown">
<a class="nav-link nav-with-toggle" href="{{ .URL | absURL }}" {{ with .Pre }} target="{{ . }}" {{ end
}}>{{.Name }}</a>
<a class="nav-link nav-with-toggle" href="{{ .URL | absURL }}" {{ with .Pre }} target="{{ . }}" {{ end }}>{{.Name }}</a>
<a class="dropdown-toggle" href="#" role="button" data-toggle="dropdown" data-reference="dropdown-toggle"
data-display="static"></a>
<div class="dropdown-menu">
{{ range .Children }}
<a class="dropdown-item" href="{{ .URL | absURL }}" {{ with .Pre }} target="{{ . }}" {{ end }}>{{ .Name
}}</a>
<a class="dropdown-item" href="{{ .URL | absURL }}" {{ with .Pre }} target="{{ . }}" {{ end }}>{{ .Name }}</a>
{{ end }}
</div>
</li>
Expand Down

0 comments on commit ccab43f

Please sign in to comment.