{{ $geekdocRepo := default (default false .Site.Params.GeekdocRepo) .Page.Params.GeekdocRepo }} {{ $geekdocEditPath := default (default false .Site.Params.GeekdocEditPath) .Page.Params.GeekdocEditPath }} {{ $pageheadEditPath := default (default false .Site.Params.PageheadEditPath) .Page.Params.PageheadEditPath }} {{ if .File }} {{ $.Scratch.Set "geekdocFilePath" (default (path.Join (default "content" .Site.Params.contentDir) .File.Path) .Page.Params.GeekdocFilePath) }} {{ else }} {{ $.Scratch.Set "geekdocFilePath" false }} {{ end }} {{ define "breadcrumb" }} {{ $parent := .page.Parent }} {{ if $parent }} {{ $name := (partial "utils/title" $parent) }} {{ $position := (sub .position 1) }} {{ $value := (printf "
  • %s
  • /
  • %s" $parent.RelPermalink $parent.RelPermalink $name $position .value) }} {{ template "breadcrumb" dict "page" $parent "value" $value "position" $position }} {{ else }} {{ .value | safeHTML }} {{ end }} {{ end }} {{ $showBreadcrumb := (and (default true .Page.Params.GeekdocBreadcrumb) (default true .Site.Params.GeekdocBreadcrumb)) }} {{ $showEdit := (and ($.Scratch.Get "geekdocFilePath") $geekdocRepo $geekdocEditPath $pageheadEditPath) }}
    {{ if $showBreadcrumb }}
    {{ end }} {{ if $showEdit }}
    {{ i18n "edit_page" }}
    {{ end }}
    {{ if in .Section "CORE" }}
    TrueNAS CORETrueNAS CORE Nightly Development Documentation
    This content follows experimental early release software. Pre-release software is intended for testing purposes only.
    Use the Product and Version selectors above to view content specific to a stable software release.
    {{ else if and (in .Section "SCALE") (hasPrefix .RelPermalink "/scale/scaleuireference/apps/") }}
    TrueNAS Apps: UI ReferenceTrueNAS Apps: UI Reference
    Application maintenance is independent from TrueNAS version release cycles.
    App versions, features, options, and installation behavior at time of access might vary from documented tutorials and UI reference.
    See the TrueNAS Applications Market for the latest details about apps available within TrueNAS!
    {{ else if in .Section "SCALE" }}
    TrueNASTrueNAS Nightly Development Documentation
    This content follows experimental nightly development software. Pre-release software is intended for testing purposes only.
    Use the Product and Version selectors above to view content specific to a stable software release.
    {{ else if in .Section "TrueCommand" }}
    TrueCommandTrueCommand Nightly Development Documentation
    This content follows experimental early release software. Pre-release software is intended for testing purposes only.
    Use the Product and Version selectors above to view content specific to a stable software release.
    {{ end }}