Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Commercial Feature
linkTitle: Feature
description: Commercial Feature
nd-commercial: true
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Partial Commercial Feature
linkTitle: Feature
description: Partial Commercial Feature
nd-commercial-partial: true
---
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/breadcrumb.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{{- end -}}
{{- if not .IsHome -}}
{{- template "breadcrumb" . -}}
{{- .Title -}}
{{ end }}
{{- .LinkTitle -}}
{{- end -}}
</ol>
</nav>
31 changes: 0 additions & 31 deletions layouts/partials/sidebar-list-pages.html

This file was deleted.

8 changes: 4 additions & 4 deletions layouts/partials/sidebar-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
aria-expanded="{{ $shouldExpand }}"
aria-controls="{{ $sectionID }}"
>
<span class="sidebar__toggle-text">{{ $p.Title }}</span>
<span class="sidebar__toggle-text">{{ $p.LinkTitle }}</span>
<span class="sidebar__chevron {{ if $shouldExpand }}sidebar__chevron--open{{ end }}">
{{ partial "lucide" (dict "context" . "icon" "chevron-right") }}
</span>
Expand Down Expand Up @@ -50,7 +50,7 @@
"firstSection" $p
"currentUrl" $currentUrl
"currentPage" $currentPage
"idPrefix" (printf "%s%s-" $idPrefix (urlize $p.Title))
"idPrefix" (printf "%s%s-" $idPrefix (urlize $p.LinkTitle))
) }}
</div>
</li>
Expand All @@ -66,7 +66,7 @@
aria-controls="{{ $tocID }}"
id="{{ $linkID }}"
>
<span>{{ $p.Title }} {{ partial "commercial-feature.html" $p }}</span>
<span>{{ $p.LinkTitle }} {{ partial "commercial-feature.html" $p }}</span>
<span class="sidebar__chevron sidebar__chevron--open">
{{ partial "lucide" (dict "context" . "icon" "chevron-right") }}
</span>
Expand All @@ -87,7 +87,7 @@
class="sidebar__link {{ if $onPage }}sidebar__link--current{{ end }}"
{{ if $onPage }}aria-current="page"{{ end }}
>
<span>{{ $p.Title }} {{ partial "commercial-feature.html" $p }}</span>
<span>{{ $p.LinkTitle }} {{ partial "commercial-feature.html" $p }}</span>
</a>
{{ end }}
</li>
Expand Down
Loading