Back to Yugabyte Db

{{ if .Params.headerTitle }}{{ .Params.headerTitle }}{{ else }}{{ .Title }}{{ end }} {{ if .Draft }} (Draft){{ end }} {{- if .Params.tags -}} {{- if .Params.tags.feature -}} {{- partial "tags/feature.html" . -}} {{- end -}} {{- if .Params.tags.other -}} {{- partial "tags/other.html" . -}} {{- end -}} {{- end -}}

docs/layouts/_td-content.html

2026.1.0.0-b251.5 KB
Original Source

{{- $headingIcon := false -}} {{- $headingImage := false -}}

{{- if .Site.Params.search_banner -}} {{ partial "search-banner.html" . }} {{- end -}} {{- if and (.Site.Params.yb.heading_icons) (.Params.image) (not .Params.hideHeadingIcon) -}} {{- if in .Params.image "/" -}} {{ $checkImagePath := printf "public%s" .Params.image }} {{- if fileExists $checkImagePath }} {{- $headingImage = true -}} {{- end -}} {{- else -}} {{- $headingIcon = true -}} {{- end -}} {{- end -}} {{- if and (.Site.Params.versions) (not .Params.unversioned) -}}

{{- partial "navbar-version-selector.html" . -}}

{{- end -}} {{- if $headingImage -}} {{- else if $headingIcon -}}

{{- end -}}

{{ if .Params.headerTitle }}{{ .Params.headerTitle }}{{ else }}{{ .Title }}{{ end }} {{ if .Draft }} (Draft){{ end }} {{- if .Params.tags -}} {{- if .Params.tags.feature -}} {{- partial "tags/feature.html" . -}} {{- end -}} {{- if .Params.tags.other -}} {{- partial "tags/other.html" . -}} {{- end -}} {{- end -}}

{{ with .Params.headcontent }} {{ . | markdownify }} {{ end }}

{{- if eq .Params.showRightNav false -}} {{- partial "contribute_list" . -}} {{- end -}} {{ .Content | replaceRE "(

)" " ${1} " | safeHTML }} {{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable) (.Site.GoogleAnalytics)) }} {{ partial "feedback.html" .Site.Params.ui.feedback }}
{{ end }} {{ if (.Site.Params.DisqusShortname) }}
{{ partial "disqus-comment.html" . }} {{ end }} {{ partial "page-meta-lastmod.html" . }}