2023-06-04 07:29:21 +00:00
|
|
|
{{ $context := .Context }}
|
|
|
|
{{ $class := .Class }}
|
|
|
|
{{ $base := site.BaseURL }}
|
|
|
|
|
|
|
|
|
2023-07-06 06:28:18 +00:00
|
|
|
<ul class="{{ $class }} inline-flex space-x-1 capitalize">
|
|
|
|
<li>
|
2023-06-04 07:29:21 +00:00
|
|
|
<a
|
|
|
|
class="text-primary dark:text-darkmode-primary"
|
|
|
|
href="{{ $base | relLangURL }}">
|
|
|
|
{{ i18n "home" | default "Home" }}
|
|
|
|
</a>
|
2023-06-04 05:07:38 +00:00
|
|
|
</li>
|
2023-07-06 06:28:18 +00:00
|
|
|
{{ range $i, $e:= $context.Ancestors.Reverse }}
|
2023-07-06 06:36:12 +00:00
|
|
|
{{ 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 }}
|
2023-06-04 05:07:38 +00:00
|
|
|
{{ end }}
|
2023-07-06 06:28:18 +00:00
|
|
|
<li>
|
|
|
|
<span class="text-primary dark:text-darkmode-primary">
|
|
|
|
{{ $context.Title }}
|
|
|
|
</span>
|
|
|
|
</li>
|
2023-06-04 05:07:38 +00:00
|
|
|
</ul>
|