{{- define "styles" -}} {{- end -}} {{- define "middle" -}} {{- partial "navigator-middle.html" (dict "Title" "Message" "Subtitle" "Thread" "Icon" "arrow-left" "IconLabel" "Back" "Href" "/" "Id" "back" "Context" . ) -}} {{ .Render "summary" }} {{- $nextHref := "" -}} {{- $prevHref := "" -}} {{- $nextTitle := "" -}} {{- $prevTitle := "" -}} {{- $nextInvisible := "data-invisible" -}} {{- $prevInvisible := "data-invisible" -}} {{- with .Next -}} {{- $nextHref = $.Next.Permalink -}} {{- $nextTitle = $.Next.Summary -}} {{- $nextInvisible = "" -}} {{- end -}} {{- with .Prev -}} {{- $prevHref = $.Prev.Permalink -}} {{- $prevTitle = $.Prev.Summary -}} {{- $prevInvisible = "" -}} {{- end -}} {{- with or .Next .Prev -}} {{ safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/arrow-left.svg")) }} Newer Older {{ safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/arrow-right.svg")) }} {{- end -}} {{- $filteredPages := partial "function-filters-content.html" (.Site.RegularPages.Related .) -}} {{- $related := $filteredPages | first 3 -}} {{- with $related -}} {{- range $related -}} {{- .Render "summary" -}} {{- end -}} {{- end -}} {{- end -}} {{- define "right" -}} {{- partial "navigator-right.html" . -}} {{- end -}}