{{ "" | safeHTML }} {{- $navID := .navID }} {{- $page := .page }} {{- $toc := eq $navID "TableOfContents" }}
{{ i18n $navID }} {{- if $toc }} {{- replace (replace $page.TableOfContents "TableOfContents" "doc-toc") "id" "data-pagefind-body role" | safeHTML }} {{- else }} {{- end }}
{{- /*---------------------- end of nav.html -----------------------*/}} {{- define "partials/nav/breadcrumb.html" -}} {{ "" | safeHTML }} {{- $page := .page }} {{- if $page.IsTranslated }}
  • {{ partial "l10n.html" ( dict "page" $page ) }}
  • {{- end }} {{- range $page.Ancestors.Reverse }} {{- if not .IsHome }}
  • {{- .Title }}
  • {{- end }} {{- end }}
  • {{- $page.Title }}
  • {{- end }} {{- define "partials/legacy/breadcrumb.html" -}} {{ "" | safeHTML }}
    {{- i18n "breadcrumb"}} {{ partial "breadcrumb/menu.html" . }}
    {{- end }} {{- define "partials/legacy/breadcrumb/loop.html" -}} {{ "" | safeHTML }} {{- with .Parent }} {{ partial "legacy/breadcrumb/loop.html" . }} {{- if not .IsHome }}
  • {{ .Title }}
  • {{- end }} {{- end }} {{- end }} {{- define "partials/nav/menu.html" -}} {{ "" | safeHTML }}
  • {{ i18n "print" }}
  • {{ i18n "share" }}
  • {{ i18n "copy" }}
  • {{- if and (eq .Kind "term" ) (eq .Data.Plural "series") -}} {{- with .OutputFormats.Get "rss" }}
  • {{ i18n "followRSS" }}
  • {{- end }} {{- end }}
    {{- end }} {{- define "partials/nav/paginator.html" -}} {{ "" | safeHTML }} {{- $page := .page }} {{- if $page.Paginator.HasPrev }}
  • {{- end }} {{- if $page.Paginator.HasNext }}
  • {{- end }} {{- end }} {{- define "partials/nav/share/mastodon.html" -}} {{ "" | safeHTML }} {{- $page := .page }}
    {{- end }} {{- define "partials/nav/share.html" -}} {{ "" | safeHTML }} {{- $page := .page }} {{- $shareAttr := `rel="noopener noreferrer" target="_blank"` | safeHTMLAttr }}
  • {{ partial "nav/share/mastodon.html" (dict "page" $page ) }}
  • {{ i18n "shareOn" }} {{ i18n "email" }}
  • {{ i18n "shareOn" }} Whatsapp
  • {{- $socialLinks := slice (dict "platform" "telegram" "url" (printf "https://telegram.me/share/url?text=%s&url=%s" ($page.Title | htmlEscape) $page.Permalink)) (dict "platform" "bluesky" "url" (printf "https://bsky.app/intent/compose?text=%s&url=%s" ($page.Title | htmlEscape) $page.Permalink)) (dict "platform" "facebook" "url" (printf "https://facebook.com/sharer/sharer.php?u=%s" $page.Permalink)) (dict "platform" "hackernews" "url" (printf "https://news.ycombinator.com/submitlink?u=%s&t=%s" $page.Permalink ($page.Title | htmlEscape))) (dict "platform" "linkedin" "url" (printf "https://www.linkedin.com/shareArticle?mini=true&url=%s&title=%s&summary=%s&source=%s" $page.Permalink ($page.Title | htmlEscape) ($page.Title | htmlEscape) $page.Permalink)) (dict "platform" "pinterest" "url" (printf "https://pinterest.com/pin/create/button/?url=%s&media=%s&description=%s" $page.Permalink $page.Permalink ($page.Title | htmlEscape))) (dict "platform" "reddit" "url" (printf "https://reddit.com/submit/?url=%s&resubmit=true&title=%s" $page.Permalink ($page.Title | htmlEscape))) (dict "platform" "tumblr" "url" (printf "https://www.tumblr.com/widgets/share/tool?posttype=link&title=%s&caption=%s&content=%s&canonicalUrl=%s" ($page.Title | htmlEscape) ($page.Title | htmlEscape) $page.Permalink $page.Permalink)) (dict "platform" "vk" "url" (printf "http://vk.com/share.php?title=%s&url=%s" ($page.Title | htmlEscape) $page.Permalink)) (dict "platform" "twitter" "url" (printf "https://twitter.com/intent/tweet/?text=%s&url=%s" ($page.Title | htmlEscape) $page.Permalink)) (dict "platform" "xing" "url" (printf "https://www.xing.com/app/user?op=share;url=%s;title=%s" $page.Permalink ($page.Title | htmlEscape))) }} {{- range $socialLinks }}
  • {{ i18n "shareOn" }} {{ title .platform }}
  • {{- end }} {{- end }}