mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Breadcrumb partial
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{{ $styles := resources.Get "css/partials/breadcrumb.css" | toCSS | minify }}
|
||||
|
||||
<link rel="stylesheet" href="{{ $styles.Permalink }}" />
|
||||
|
||||
<nav aria-label="breadcrumb" class="breadcrumb">
|
||||
<ol>
|
||||
{{ range .Ancestors.Reverse }}
|
||||
<li>
|
||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
<li class="active">
|
||||
<a aria-current="page" href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
</li>
|
||||
</ol>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user