{{- $postDate := .Date.Format "2006-01-02" }} {{- $updateDate := .Lastmod.Format "2006-01-02" }} {{ if or (.Params.description) (.Params.date) }} {{ if .Params.description }}

{{ .Params.description }}

{{ end }}

{{ with $postDate }}{{- if ne $postDate $updateDate }}{{ end }}
posted:{{ . }}
updated:{{ $updateDate }}
{{ end }}

{{- with .Params.tags -}} tags:
{{- range . }} {{- $tag := urlize . -}} [{{ . }}] {{- end }} {{- end }}


{{ end }} {{ if and (gt .WordCount 400 ) (gt (len .TableOfContents) 180) }}

On this page

{{ .TableOfContents }}
{{ end }} {{- $posts := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }} {{- $featured := default 8 .Site.Params.numberOfFeaturedPosts }} {{- $featuredPosts := first $featured (where $posts "Params.featured" true)}} {{- with $featuredPosts }}

Featured Posts

{{- end }}