13 lines
231 B
HTML
13 lines
231 B
HTML
|
{{ $uid := .Page.RelPermalink }}
|
||
|
{{ $ctx := . }}
|
||
|
|
||
|
{{ range seq 16 }}
|
||
|
{{ with $ctx }}
|
||
|
{{ $uid = printf "%s-%d" $uid .Ordinal }}
|
||
|
{{ $ctx = .Parent }}
|
||
|
{{ else }}
|
||
|
{{ break }}
|
||
|
{{ end }}
|
||
|
{{ end }}
|
||
|
|
||
|
{{ return md5 $uid }}
|