{{ define "main" }}

{{ .Title }}

{{- with .Content }}
{{ . }}
{{- else }} {{- $description := or .Description (lang.Translate "search_description" | default "Find posts by search term.") }}

{{ $description }}

{{- end }}
{{- /* Hidden template, used for hydrating search results from index.json with JS */ -}}
{{ end }}