blob: f4269dc433897cc45be5d2ef9e9a9f151025ee45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{{ $uid := .Page.RelPermalink }}
{{ $ctx := . }}
{{ range seq 16 }}
{{ with $ctx }}
{{ $uid = printf "%s-%d" $uid .Ordinal }}
{{ $ctx = .Parent }}
{{ else }}
{{ break }}
{{ end }}
{{ end }}
{{ return md5 $uid }}
|