To format a date with an ordinal suffix (like '1st' or '2nd') with Hugo, the trick is to format the day separately, and use the humanize
function to add a suffix to the number.
{{ .Date.Format "January" }} {{ .Date.Format "2" | humanize }}
this will output .Date
formatted like January 2nd.