mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
theme: don't use menuTitle anymore #714
This commit is contained in:
parent
f9dc695a57
commit
e8a0d000c3
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@
|
|||
{{- template "section-tree-nav" dict "sect" . "currentnode" $currentNode "showvisitedlinks" $showvisitedlinks "alwaysopen" $defaultAlwaysopen }}
|
||||
{{- end }}</ul></li>
|
||||
{{- else }}
|
||||
{{- $title := or .Params.menuTitle .LinkTitle .Title }}
|
||||
{{- $title := or .LinkTitle .Title }}
|
||||
{{- $url := partial "relLangPrettyUglyURL.hugo" (dict "to" .) }}
|
||||
<li data-nav-id="{{ $url }}" class="{{if $isActive }}active{{end}}">{{ if $url }}<a class="padding" href="{{ $url }}">{{ else }}<span class="padding">{{ end }}
|
||||
{{- partial "menu-pre.html" . }}{{ $title }}{{ partial "menu-post.html" . }}
|
||||
|
|
Loading…
Reference in a new issue