mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
14 lines
No EOL
477 B
HTML
14 lines
No EOL
477 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
|
|
"hint" (printf "%s" (T "More-action"))
|
|
)}} |