mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 09:43:06 +00:00
14 lines
478 B
HTML
14 lines
478 B
HTML
|
{{- $onempty := cond (isset . "onempty") .onempty "hide" }}
|
||
|
{{- $onwidths := cond (isset . "onwidths") .onwidths "show" }}
|
||
|
{{- $onwidthm := cond (isset . "onwidthm") .onwidthm "show" }}
|
||
|
{{- $onwidthl := cond (isset . "onwidthl") .onwidthl "show" }}
|
||
|
{{- partial "topbar/func/area-button.html" (dict
|
||
|
"page" .page
|
||
|
"area" "more"
|
||
|
"icon" "ellipsis-v"
|
||
|
"onempty" $onempty
|
||
|
"onwidths" $onwidths
|
||
|
"onwidthm" $onwidthm
|
||
|
"onwidthl" $onwidthl
|
||
|
"title" (printf "%s" (T "More-action"))
|
||
|
)}}
|