mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-02-19 10:10:05 +00:00
wildspace
This commit is contained in:
parent
c45a29c8fb
commit
52fcb55f86
2 changed files with 3 additions and 3 deletions
|
@ -118,7 +118,7 @@
|
|||
{{- $entries := partialCached "_relearn/pages.gotmpl" (dict "page" $entry) $entry.Path }}
|
||||
{{- $title := "" }}
|
||||
{{- if not ($config.disableTitle | default true) }}
|
||||
{{ $title = $entry.Params.menuTitle | default (T (print $config.identifier "-menuTitle")) }}
|
||||
{{- $title = $entry.Params.menuTitle | default (T (print $config.identifier "-menuTitle")) }}
|
||||
{{- end }}
|
||||
{{- with $title }}
|
||||
<div class="nav-title padding">{{ . }}</div>
|
||||
|
@ -303,7 +303,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
{{- else }}
|
||||
{{ if ne $config.identifier "shortcuts" }}
|
||||
{{- if ne $config.identifier "shortcuts" }}
|
||||
{{- $msg := printf "config option 'identifier' for 'sidebarmenus' %q is not a menu" $config.identifier }}
|
||||
{{- partial "_relearn/urlErrorReport.gotmpl" (dict "url" $config.pageRef "page" $currentNode "param" "link" "msg" $msg "applyErrorIgnore" false) }}
|
||||
{{- end }}
|
||||
|
|
|
@ -1 +1 @@
|
|||
7.3.2+dac4cbecc15f923210b0b89654c1c5fb7f716e7a
|
||||
7.3.2+c45a29c8fba29ab33cda6a2f9b9ba1e95647575f
|
Loading…
Add table
Reference in a new issue