Generate an UUID with hugo new?

#1

I like to use an UUID in my generated feeds. I can define the UUID in frontmatter.
In archetypes a line uuid = {{ .UUID }} would be nice,
to generate an UUID this in a new content page (hugo new).

Any other solutions?
OK - this is nice to have!

1 Like

#2

2nd.: nice to have it like the hash functions md5 or sha1, generating the a uuid from an value, ex. .Date.

1 Like

#3

the needed functions are here https://github.com/satori/go.uuid

0 Likes