{{ define "main" }} {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} {{/* Table of Contents */}} {{ $hasToC := .Params.toc | default true }} {{ $headers := findRE " TABLE OF CONTENTS
{{ .TableOfContents }}
{{ end }} {{ partial "list-to-carousel.html" .Content }}
{{ partial "date.html" .Date }} {{ $showReadingTime := .Params.showreadingtime | default site.Params.showreadingtime | default true }} {{ if and $showReadingTime .ReadingTime }} · {{ .ReadingTime }} min read {{ end }} {{ $showLastMod := .Params.showlastmod | default site.Params.showlastmod | default false }} {{ if and $showLastMod .Lastmod }} {{ if ne .LastMod.Format "2006-01-02" .Date.Format "2006-01-02" }} · Last updated: {{ .LastMod.Format "2006-01-02" }} {{ end }} {{ end }}
{{ if and .Content (default true (default .Site.Params.comments .Params.comments)) }}
{{- partial "comments" . -}}
{{ end }} {{ if not .IsHome }}
{{ with .Parent }} ../ {{ else }} ../ {{ end }}
{{ end }} {{ end }}