{{ define "main" }}
  • {{ .Params.author }}

  • {{ time.Format ":date_long" .PublishDate }}
{{ $image:= .Params.image }} {{ if $image }}
{{ partial "image" (dict "Src" $image "Context" .Page "Alt" .Title "Class" "w-full") }}
{{ end }}

{{ .Title }}

{{ partial "toc.html" (dict "Class" "blog" "Collapsed" false "TableOfContents" .TableOfContents ) }} {{ .Content }}
{{ T "share" | default "Share" }} :
{{ partial "social-share" (dict "Context" . "Class" "share-icons" "Title" .Title "Whatsapp" false "Telegram" false "Linkedin" false "Pinterest" false "Tumblr" false "Vk" false "Reddit" false) }}
{{ $related := .Site.RegularPages.Related . | first 10 }} {{ $related = $related | shuffle | first 2 }} {{ with $related }}

{{ T "related_posts" | default "Related Posts" }}

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