Latest Blog Post

{{ range first 1 ((where .Pages.ByDate "Section" "blog").Reverse) }} {{- with .Params.truncate -}} {{- $.Scratch.Set "truncate" . }} {{- else -}} {{- with .Site.Params.truncate -}} {{- $.Scratch.Set "truncate" . }} {{- else -}} {{- $.Scratch.Set "truncate" 600 -}} {{- end -}} {{- end -}} {{- with .Params.blog_banner -}} {{- $.Scratch.Set "blog_banner" "true" -}} {{- end -}} {{- if eq ($.Scratch.Get "blog_banner") "true" -}}

{{ .Title }}

Posted on {{ dateFormat "Monday, Jan 2, 2006" .Date }} {{ partial "blog-metadata.html" . }}
{{ .Description | markdownify | truncate ($.Scratch.Get "truncate") " "}} Read More
{{- else -}}

{{ .Title }}

Posted on {{ dateFormat "Monday, Jan 2, 2006" .Date }} {{ partial "blog-metadata.html" .}}
{{- if .Params.blog_image -}}
{{- if ge (countrunes .Description ) ($.Scratch.Get "truncate") -}}

{{ .Description | markdownify | truncate ($.Scratch.Get "truncate") " "}} Read More

{{- else -}}

{{ .Description | markdownify }}

{{- end -}}
{{- else -}}
{{- if ge (countrunes .Description ) ($.Scratch.Get "truncate") -}}

{{ .Description | markdownify | truncate ($.Scratch.Get "truncate") " "}} Read More

{{- else -}}

{{ .Description | markdownify }}

{{- end -}}
{{- end -}} {{- end -}} {{- end -}}
{{- if (where .Pages.ByDate "Section" "blog") -}} {{- $paginator := .Paginate (after 1 ((where .Pages.ByDate "Section" "blog").Reverse)) }} {{- $list := (where .Pages.ByDate "Section" "blog") -}} {{- $len := (len $list) -}}
{{- if gt $len 1 -}} {{- range $paginator.Pages -}} {{- with .Params.truncate -}} {{- $.Scratch.Set "truncate" . }} {{- else -}} {{- with .Site.Params.truncate -}} {{- $.Scratch.Set "truncate" . }} {{- else -}} {{- $.Scratch.Set "truncate" 600 -}} {{- end -}} {{- end -}}

{{ .Title }}

Posted on {{ dateFormat "Monday, Jan 2, 2006" .Date }} {{ partial "blog-metadata.html" .}}
{{- if .Params.blog_image -}}
{{- if ge (countrunes .Description ) ($.Scratch.Get "truncate") -}}

{{ .Description | markdownify | truncate ($.Scratch.Get "truncate") " "}} Read More

{{- else -}}

{{ .Description | markdownify }}

{{- end -}}
{{- else -}}
{{- if ge (countrunes .Description ) ($.Scratch.Get "truncate") -}}

{{ .Description | markdownify | truncate ($.Scratch.Get "truncate") " "}} Read More

{{- else -}}

{{ .Description | markdownify }}

{{- end -}}
{{- end -}}
{{- end -}} {{- end -}}
{{- if gt $paginator.TotalPages 1 -}}
{{- end -}}
{{- end -}}