{{ 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 "Context" . "Class" "share-icons" "Title" (i18n "share") "Whatsapp" false "Telegram" false) }}
{{ if site.DisqusShortname }}
{{ template "_internal/disqus.html" . }}
{{ end }}
{{ $related := (where site.RegularPages "Section" "in" site.Params.mainSections) | intersect (where site.RegularPages ".Title" "!=" .Title) | union (site.RegularPages.Related . ) }} {{ $related = $related | shuffle | first 3 }} {{ with $related }}

{{ i18n "related_posts" }}

{{ range . }}
{{ partial "components/blog-card" . }}
{{ end }}
{{ end }}
{{ end }}