Skip to content

Commit

Permalink
fix: breadcrumb html
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Oct 6, 2020
1 parent 028039f commit 9d7dd95
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions layouts/partials/breadcrumb.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,11 @@

{{- if eq .node .start -}}
<li class="is-active">
<p class="is-dark is-focused">
<a href="#" aria-current="page">{{- .node.LinkTitle -}}</a>
</p>
<a href="#" aria-current="page">{{- .node.LinkTitle -}}</a>
</li>
{{- else -}}
<li>
<p class="is-dark">
<a href="{{- .node.Permalink -}}">{{- .node.LinkTitle -}}</a>
</p>
<a href="{{- .node.Permalink -}}">{{- .node.LinkTitle -}}</a>
</li>
{{- end -}}
{{- end -}}

0 comments on commit 9d7dd95

Please sign in to comment.