I’d like to convert an integer into its hexadecimal representation. Is that possible in Hugo templates?
{{ 255 | printf "%x" }} --> ff (string)
5 Likes
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.