File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change 22 < div class ="nav flex-md-row ">
33 < ol class ="breadcrumb ">
44 < li > < a href ="/ " alt ="NGINX Docs Home "> Home</ a > </ li >
5-
6- {{ define "breadcrumb" }}
7-
8- {{ with .Parent }}
9- {{ template "breadcrumb" . }}
10- < li > {{ if .IsHome }}< i class ="fas fa-chevron-right "> </ i > < a href ="{{ .RelPermalink }} "> {{ .Site.Title}}</ a > {{ else }}< a href ="{{ .RelPermalink }} "> {{ .Title }}{{ end }}</ a > < i class ="fas fa-chevron-right "> </ i > </ li >
11- {{ end }}
12- {{ end }}
13-
14- {{ if not .IsHome }}
15-
16- {{ template "breadcrumb" . }}
17- {{.Title}}
5+ {{- define "breadcrumb" -}}
6+ {{- with .Parent -}}
7+ {{- template "breadcrumb" . -}}
8+ < li > {{- if .IsHome -}}< i class ="fas fa-chevron-right "> </ i > < a href ="{{ .RelPermalink }} "> {{ .Site.Title}}</ a > {{ else }}< a href ="{{ .RelPermalink }} "> {{ .Title }}{{ end }}</ a > < i class ="fas fa-chevron-right "> </ i > </ li >
9+ {{- end -}}
10+ {{- end -}}
11+ {{- if not .IsHome -}}
12+ {{- template "breadcrumb" . -}}
13+ {{- .Title -}}
1814 </ ol >
1915 </ div >
2016</ nav >
You can’t perform that action at this time.
0 commit comments