{{ 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 }}

{{- with .Params.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 }}