Remove the page breadcrumb because it's not used

This commit is contained in:
Eryn Wells 2024-07-23 08:54:06 -07:00
parent d1154de459
commit 461772c1f0
2 changed files with 0 additions and 51 deletions

View file

@ -1,39 +0,0 @@
{{/*
099_breadcrumb.css
Eryn Wells <eryn@erynwells.me>
vim: set sw=2 sts=2:
*/}}
/*************
# BREADCRUMB
*************/
.nav-breadcrumb {
--item-spacing: var(--space-xxs);
font-size: var(--text-s);
grid-column: main-start / main-end;
ul, ol {
display: flex;
margin-block: 0;
padding-inline: 0;
}
li {
color: var(--gray6);
list-style-type: none;
&::after {
content: "/";
}
}
li::after, li:not(:first-child) {
margin-inline-start: var(--item-spacing);
}
}

View file

@ -1,12 +0,0 @@
<nav class="nav-breadcrumb">
<ol>
{{ range .Ancestors.Reverse }}
{{- $title := .LinkTitle -}}
{{- if .IsHome -}}
<li class="nav-breadcrumb__home"><a href="{{ .Permalink }}">{{ i18n "home" }}</a></li>
{{ else }}
<li><a href="{{ .Permalink }}">{{ $title }}</a></li>
{{- end -}}
{{ end }}
</ol>
</nav>