Frontmatter data types

Does metadata support data types other than string? For example, can I supply a number in post metadata?

Yes you can. Here’s a handy function to show you what’s on a page:

{{ printf "%#v" .Page }}


I think this is more correct in the normal case:

{{ printf "%#v" . }}
1 Like