Hugo modifying Site.Params.phone value

If you want it to be a string:

phone: "0101010101"

if you want it to be a decimal (base 10) integer:

phone: 101010101

The way you have it right now, it’s an octal (base 8) number, which when converted to decimal is 17043521.

Read the YAML spec.

2 Likes