{{- $author := partial "function-authors-data.html" . -}} {{- $relURL := strings.TrimPrefix .Page.Site.BaseURL .Page.Permalink -}} {{- $source := urlize (humanize $relURL) -}} {{- if .ExpiryDate -}} {{- $source = truncate 8 "" (sha256 $source) -}} {{- end -}} {{- $source -}}