Skip to content

Commit 99dceb3

Browse files
committed
Breadcrumbs: Use full content width for breadcrumbs
1 parent 1e50b95 commit 99dceb3

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

layouts/partials/breadcrumb.html

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
<nav aria-label="breadcrumb" class="breadcrumb navbar">
2-
<div class="nav flex-md-row">
3-
<ol class="breadcrumb">
4-
<button class="sidebar__mobile__toggle" aria-label="sidebar__mobile__toggle" aria-expanded="false">{{ partial "lucide" (dict "context" . "icon" "align-justify") }}</button>
5-
<li><a href="/" alt="NGINX Docs Home">Home</a></li>
6-
{{- define "breadcrumb" -}}
7-
{{- with .Parent -}}
8-
{{- template "breadcrumb" . -}}
9-
<li>{{- if .IsHome -}}<a href="{{ .RelPermalink }}">{{ .Site.Title}}</a>{{ else }}<a href="{{ .RelPermalink }}">{{ .Title }}{{ end }}</a></li>
10-
{{- end -}}
1+
<nav aria-label="breadcrumb" class="breadcrumb" data-grid="wide">
2+
<ol class="breadcrumb">
3+
<button class="sidebar__mobile__toggle" aria-label="sidebar__mobile__toggle" aria-expanded="false">{{ partial "lucide" (dict "context" . "icon" "align-justify") }}</button>
4+
<li><a href="/" alt="NGINX Docs Home">Home</a></li>
5+
{{- define "breadcrumb" -}}
6+
{{- with .Parent -}}
7+
{{- template "breadcrumb" . -}}
8+
<li>{{- if .IsHome -}}<a href="{{ .RelPermalink }}">{{ .Site.Title}}</a>{{ else }}<a href="{{ .RelPermalink }}">{{ .Title }}{{ end }}</a></li>
119
{{- end -}}
12-
{{- if not .IsHome -}}
13-
{{- template "breadcrumb" . -}}
14-
{{- .Title -}}
15-
</ol>
16-
</div>
10+
{{- end -}}
11+
{{- if not .IsHome -}}
12+
{{- template "breadcrumb" . -}}
13+
{{- .Title -}}
14+
</ol>
1715
</nav>
1816
{{ end }}

0 commit comments

Comments
 (0)