{{ .Title }} {{if not .Params.hideMetadata }} {{ $readTime := cond (gt .ReadingTime 1) "minutes" "minute" }} Read in {{ .ReadingTime }} {{ $readTime }} · {{ dateFormat "January 2, 2006" (default .Date (.PublishDate)) }} {{ end }} {{ .Content }} {{if not .Params.hideAuthorBio }} {{if or (eq (substr .Site.Params.avatar 0 7) "http://") (eq (substr .Site.Params.avatar 0 8) "https://")}} {{ else }} {{ end }} {{ .Site.Params.authorBio | safeHTML }} {{ $title := .Title }} {{ $url := printf "%s" .URL | absLangURL }} {{ $body := print $title ", by " .Site.Title "\n" .Params.description "\n\n" $url "\n" }} Twitter Tweet {{ end }} {{if not .Params.hideComments }} Comments {{ template "_internal/disqus.html" . }} {{ end }}