{{ define "main" }}
{{ $image:= .Params.image }} {{ if $image }}
{{ partial "image" (dict "Src" $image "Alt" .Title "Class" "w-full rounded") }}
{{ end }}

{{ .Title }}

{{ .Content }}
{{ i18n "tags" }} :
{{ partial "social-share" (dict "Class" "share-icons" "Title" (i18n "share") "Whatsapp" false "Telegram" false) }}
{{ if site.DisqusShortname }}
{{ template "_internal/disqus.html" . }}
{{ end }}

{{ i18n "related_posts" }}

{{ $related := (where site.RegularPages "Section" "in" site.Params.mainSections) | intersect (where site.RegularPages ".Title" "!=" .Title) | union (site.RegularPages.Related . ) }} {{ range first 3 $related }}
{{ partial "components/blog-card" . }}
{{ end }}
{{ end }}