{{ define "main" }}
{{ .Scratch.Set "scope" "single" }}
{{ $showReadingProgress := site.Params.article.showReadingProgress | default false }}
{{ if isset .Params "showreadingprogress" }}
{{ $showReadingProgress = .Params.showReadingProgress }}
{{ end }}
{{ if $showReadingProgress }}
{{ partial "reading-progress.html" . }}
{{ end }}
{{ .Title | emojify }}