I see that we have the following to add a unique ID to any page that is based on a Markdown file:
{{ with .File }}
{{ .UniqueID }}
{{ end }}
Is there something comparable for non-file-based pages or is it “ok” to “just” MD5 a bunch of parameters like this:
{{ $unique := printf "%s%s%s" .Kind .Section .Slug }}
{{ md5 $unique }}
I am only worried about the performance of this solution, not if people might call me a script kiddie will it slow down on large sites?