File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 {{- $link := cond (isset .Params "manuallink") .Params.manualLink .RelPermalink -}}
5555 < li class ="td-sidebar-nav__section-title td-sidebar-nav__section without-child{{ if $active }} active-path{{ end }} " id ="{{ $mid }}-li ">
5656 < input type ="checkbox " id ="{{ $mid }}-check "{{ if $active}} checked{{ end }} />
57- < label for ="{{ $mid }}-check "> < a class ="align-left pl-0 {{ if $active}} active{{ end }} td-sidebar-link td-sidebar-link__page " id ="{{ $mid }} " href ="{{ $link }} "{{ with .Params.manualLinkTarget }} target ="{{ . }} "{{ if eq . "_blank" }} rel="noopener "{{ end }}{{ end }} > < span class ="{{ if $active }}td-sidebar-nav-active-item{{ end }} "> {{ .LinkTitle }}</ span > </ a > </ label >
57+ < label for ="{{ $mid }}-check "> < a class ="align-left pl-0 {{ if $active}} active{{ end }} td-sidebar-link td-sidebar-link__page " id ="{{ $mid }} " href ="{{ $link }} "{{ with .Params.manualLinkTarget }} target ="{{ . }} "{{ if eq . "_blank" }} rel="noopener "{{ end }}{{ end }} > < span class ="{{ if $active }}td-sidebar-nav-active-item{{ end }} "> {{ if .LinkTitle }}{{ .LinkTitle }}{{ else if .Title }}{{ .Title }}{{ else }}{{ .File.BaseFileName }}{{ end }}</ span > </ a > </ label >
5858 </ li >
5959 </ li >
6060 {{- end -}}
You can’t perform that action at this time.
0 commit comments