{{- $href := .Href -}}
{{- $id := or .Id "top" -}}
{{- $label := title $id -}}
{{- $icon := readFile (print (partial "function-paths.html").static "/icons/feather/arrow-up.svg") -}}
{{- $refresh := readFile (print (partial "function-paths.html").static "/icons/feather/refresh-cw.svg") -}}
{{- with $paginator := .Context.Paginator -}}
{{- $href = or (and (eq $paginator.PageNumber 1) $href)
(and (gt $paginator.PageNumber 1) ($paginator.Prev.URL | absURL))
"#"
-}}
{{- end -}}
{{- with .Icon -}}
{{- $icon = readFile (print (partial "function-paths.html").static "/icons/feather/" . ".svg") -}}
{{- end -}}
{{- with .IconLabel -}}
{{- $label = . -}}
{{- end -}}