summaryrefslogtreecommitdiffstats
path: root/themes/danix-xyz-hacker/layouts/partials/breadcrumb.html
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-22 12:43:22 +0200
committerDanilo M. <danix@danix.xyz>2026-04-22 12:43:22 +0200
commit5b476f8905f411768e23cb01d577a60e5a5fd725 (patch)
tree0a08cc83d809dbea714f52826e822501ee7c0165 /themes/danix-xyz-hacker/layouts/partials/breadcrumb.html
parent082e9246ffe453031894d32d3cee9d5d1bf2b67a (diff)
downloaddanixxyz-5b476f8905f411768e23cb01d577a60e5a5fd725.tar.gz
danixxyz-5b476f8905f411768e23cb01d577a60e5a5fd725.zip
chore: extract theme into git submodule (danix2-hugo-theme)
Diffstat (limited to 'themes/danix-xyz-hacker/layouts/partials/breadcrumb.html')
-rw-r--r--themes/danix-xyz-hacker/layouts/partials/breadcrumb.html16
1 files changed, 0 insertions, 16 deletions
diff --git a/themes/danix-xyz-hacker/layouts/partials/breadcrumb.html b/themes/danix-xyz-hacker/layouts/partials/breadcrumb.html
deleted file mode 100644
index c15dfeb..0000000
--- a/themes/danix-xyz-hacker/layouts/partials/breadcrumb.html
+++ /dev/null
@@ -1,16 +0,0 @@
-{{ $homeLink := "/" }}
-{{ if eq .Lang "it" }}
- {{ $homeLink = "/it/" }}
-{{ end }}
-
-<nav class="breadcrumb mb-6" aria-label="Breadcrumb">
- <a href="{{ $homeLink }}">{{ i18n "home" }}</a>
- {{ range .Ancestors.Reverse }}
- {{ if ne .Kind "home" }}
- <span class="breadcrumb-separator">/</span>
- <a href="{{ .RelPermalink }}">{{ .Title }}</a>
- {{ end }}
- {{ end }}
- <span class="breadcrumb-separator">/</span>
- <span>{{ .Title }}</span>
-</nav>