File tree Expand file tree Collapse file tree 5 files changed +8
-38
lines changed
exampleSite/content/test-product/commerical Expand file tree Collapse file tree 5 files changed +8
-38
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
title : Commercial Feature
3
+ linkTitle : Feature
3
4
description : Commercial Feature
4
5
nd-commercial : true
5
6
---
Original file line number Diff line number Diff line change 1
1
---
2
2
title : Partial Commercial Feature
3
+ linkTitle : Feature
3
4
description : Partial Commercial Feature
4
5
nd-commercial-partial : true
5
6
---
Original file line number Diff line number Diff line change 1
1
< nav aria-label ="breadcrumb " class ="breadcrumb " data-grid ="wide ">
2
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
3
< li > < a href ="/ " alt ="NGINX Docs Home "> Home</ a > </ li >
5
4
{{- define "breadcrumb" -}}
6
5
{{- with .Parent -}}
10
9
{{- end -}}
11
10
{{- if not .IsHome -}}
12
11
{{- template "breadcrumb" . -}}
13
- {{- .Title -}}
12
+ {{- .LinkTitle -}}
13
+ {{- end -}}
14
14
</ ol >
15
15
</ nav >
16
- {{ end }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
22
aria-expanded ="{{ $shouldExpand }} "
23
23
aria-controls ="{{ $sectionID }} "
24
24
>
25
- < span class ="sidebar__toggle-text "> {{ $p.Title }}</ span >
25
+ < span class ="sidebar__toggle-text "> {{ $p.LinkTitle }}</ span >
26
26
< span class ="sidebar__chevron {{ if $shouldExpand }}sidebar__chevron--open{{ end }} ">
27
27
{{ partial "lucide" (dict "context" . "icon" "chevron-right") }}
28
28
</ span >
50
50
"firstSection" $p
51
51
"currentUrl" $currentUrl
52
52
"currentPage" $currentPage
53
- "idPrefix" (printf "%s%s-" $idPrefix (urlize $p.Title ))
53
+ "idPrefix" (printf "%s%s-" $idPrefix (urlize $p.LinkTitle ))
54
54
) }}
55
55
</ div >
56
56
</ li >
66
66
aria-controls ="{{ $tocID }} "
67
67
id ="{{ $linkID }} "
68
68
>
69
- < span > {{ $p.Title }} {{ partial "commercial-feature.html" $p }}</ span >
69
+ < span > {{ $p.LinkTitle }} {{ partial "commercial-feature.html" $p }}</ span >
70
70
< span class ="sidebar__chevron sidebar__chevron--open ">
71
71
{{ partial "lucide" (dict "context" . "icon" "chevron-right") }}
72
72
</ span >
87
87
class ="sidebar__link {{ if $onPage }}sidebar__link--current{{ end }} "
88
88
{{ if $onPage }}aria-current ="page "{{ end }}
89
89
>
90
- < span > {{ $p.Title }} {{ partial "commercial-feature.html" $p }}</ span >
90
+ < span > {{ $p.LinkTitle }} {{ partial "commercial-feature.html" $p }}</ span >
91
91
</ a >
92
92
{{ end }}
93
93
</ li >
You can’t perform that action at this time.
0 commit comments