2020-10-10 19:09:30 +00:00
|
|
|
<footer class="site-footer">
|
2020-10-10 19:47:58 +00:00
|
|
|
<hr>
|
2020-10-10 19:09:30 +00:00
|
|
|
<div class="container">
|
2021-12-26 12:33:52 +00:00
|
|
|
<ul class="breadcrumbs">
|
|
|
|
{{ template "breadcrumb" (dict "p1" . "p2" .) }}
|
|
|
|
</ul>
|
|
|
|
<a href="#top">back to top</a>
|
2020-10-10 19:09:30 +00:00
|
|
|
</div>
|
2021-12-26 12:33:52 +00:00
|
|
|
</footer>
|
|
|
|
|
|
|
|
{{ define "breadcrumb" }}
|
|
|
|
{{ if .p1.Parent }}
|
|
|
|
{{ template "breadcrumb" (dict "p1" .p1.Parent "p2" .p2 ) }}
|
|
|
|
{{ else if not .p1.IsHome }}
|
|
|
|
{{ template "breadcrumb" (dict "p1" .p1.Site.Home "p2" .p2 ) }}
|
|
|
|
{{ end }}
|
|
|
|
<li{{ if eq .p1 .p2 }} class="active"{{ end }}>
|
|
|
|
<a href="{{ .p1.RelPermalink }}">{{ .p1.Title }}</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|