{{ define "main" }} {{- $ageDays := div (sub now.Unix .Date.Unix) 86400 -}}

{{ .Title | markdownify }}

{{ if .Params.toc }} {{ end }} {{- with .Param "lastmod" -}} {{- $ageDays = div (sub now.Unix .Unix) 86400 -}} {{- end -}} {{- if and (gt $ageDays 365) (not .Params.timeless) -}}

Technology keeps moving but this post has not.

What you're about to read hasn't been updated in more than a year. The information may be out of date. Let me know if you see anything that needs fixing.
{{- end -}}
{{ .Content }}
{{- $showComments := true }} {{- if eq .Site.Params.comments false }} {{- $showComments = false }} {{- else if eq .Params.comments false }} {{- $showComments = false }} {{- end }} {{- if ne $showComments false }} {{- partial "comments" . }} {{- end }} {{ end }} {{define "aside" }} {{ if .Params.description }}

{{ .Params.description }}

{{ end }} {{ if or (.Params.author) (.Params.date) }}

{{ if .Params.author }}By {{ .Params.author }}{{ if .Date }}, {{ end }}{{ end }} {{ if .Date }}{{ .Date.Format "2006-01-02" }}{{ end }}

{{ end }} {{ if and (.Params.toc) (.TableOfContents) }}
On this page: {{ .TableOfContents }} {{ end }} {{ end }}