Hugo equivalent for Liquid syntax to add ordinal date suffixes

From here.

{{ humanize $.PublishDate.Day }} {{ $.Date.Format "January, 2006" }}

If using .LastMod

{{ humanize $.Lastmod.Day }} {{ $.Lastmod.Format "January, 2006" }}