bop-hugo-theme/layouts/partials/scope.html

6 lines
185 B
HTML
Raw Normal View History

2020-11-16 14:56:39 +01:00
{{- $pathList := split (trim (path.Dir .RelPermalink) "/") "/" -}}
{{- range $i, $val := $pathList -}}
{{- $val -}}
{{- if ne $i (sub (len $pathList) 1) }} > {{ end -}}
{{- end -}}