mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 15:57:57 +00:00
14 lines
No EOL
478 B
HTML
14 lines
No EOL
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"))
|
|
)}} |