Skip to content

Commit

Permalink
Make breadcrumbs beautiful
Browse files Browse the repository at this point in the history
  • Loading branch information
ktnlvr committed Nov 15, 2024
1 parent 89086c6 commit 7055acf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/breadcrumbs.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<ul id="breadcrumbs">
<li class="crumb">/<a href="/">home</a>/</li>
{{- range after 1 .Ancestors.Reverse }}
<li class="crumb"><a href="{{ .RelPermalink }}">{{ replace (lower .Title) " " "" }}</a>/</li>
<li class="crumb"><a href="{{ .RelPermalink }}">{{ replace (lower .Title) " " "-" }}</a>/</li>
{{- end }}
<li class="crumb"><a href="{{ .RelPermalink }}">{{ replace (lower .Title) " " "" }}.md</a></li>
<li class="crumb"><a href="{{ .RelPermalink }}">{{ replace (lower .Title) " " "-" }}.md</a></li>
</ul>

0 comments on commit 7055acf

Please sign in to comment.