mirror of
https://github.com/imfing/hextra.git
synced 2025-07-01 13:57:23 -04:00
chore: use utils/title to get title
This commit is contained in:
@ -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 }}
|
||||||
|
Reference in New Issue
Block a user