{{ define "main" -}}

{{ .Title }}

| ~{{ .ReadingTime }} min read {{- with .Params.devLink -}} | Also available on dev.to {{- end -}}

{{ range .Params.tags }} {{ end }}

{{- with .Content -}} {{ . | replaceRE "()" `${1} 🔗︎ ${3}` | safeHTML }} {{- end -}}
{{ if and .Site.Params.CommentoURL (and (not .Site.BuildDrafts) (not .Site.IsServer)) -}}

Comments

{{ partial "commento.html" . }} {{- end }} {{- end }}