forked from drowl87/hextra_mirror
chore: use utils/title to get title
This commit is contained in:
parent
3a2ce0b5c0
commit
a4bfa2d97e
@ -13,7 +13,7 @@
|
|||||||
{{- define "partials/sidebar/section-walk" -}}
|
{{- define "partials/sidebar/section-walk" -}}
|
||||||
{{- with . -}}
|
{{- with . -}}
|
||||||
{
|
{
|
||||||
"title": "{{ .LinkTitle | default .File.BaseFileName }}",
|
"title": "{{ partial "utils/title" . }}",
|
||||||
"link": "{{ .RelPermalink }}",
|
"link": "{{ .RelPermalink }}",
|
||||||
"toc": {{ partial "sidebar/section-page-toc" . }},
|
"toc": {{ partial "sidebar/section-page-toc" . }},
|
||||||
"open": {{ .Params.sidebar.open | default false }}
|
"open": {{ .Params.sidebar.open | default false }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user