32 lines
744 B
HTML
32 lines
744 B
HTML
{{ $context := .Context }}
|
|
{{ $class := .Class }}
|
|
{{ $base := site.BaseURL }}
|
|
|
|
|
|
<ul class="{{ $class }} inline-flex space-x-1 capitalize">
|
|
<li>
|
|
<a
|
|
class="text-primary dark:text-darkmode-primary"
|
|
href="{{ $base | relLangURL }}">
|
|
{{ i18n "home" | default "Home" }}
|
|
</a>
|
|
</li>
|
|
{{ range $i, $e:= $context.Ancestors.Reverse }}
|
|
{{ if ne .Title "Pages" }}
|
|
<li>
|
|
<a
|
|
class="text-primary dark:text-darkmode-primary"
|
|
href="{{ .RelPermalink }}">
|
|
{{ .Title }}
|
|
</a>
|
|
<span class="inlin-block mr-1">/</span>
|
|
</li>
|
|
{{ end }}
|
|
{{ end }}
|
|
<li>
|
|
<span class="text-primary dark:text-darkmode-primary">
|
|
{{ $context.Title }}
|
|
</span>
|
|
</li>
|
|
</ul>
|