custom function, templates/partial or inline-partials via define(diff ref https://github.com/gohugoio/hugo/issues/10633)

template, shortcode

alternative param, https://gohugo.io/shortcodes/param/

cond expr v1 v2(ref compare.Conditional), ?: (triple op)


hugo builtin functions

obj methods