{{ define "head_meta" }} {{ with .PublishDate }}{{ end }} {{ with .Lastmod }}{{ end }} {{ $thumb := $.Resources.Get $.Params.featured_image -}} {{ with $thumb }}{{end}} {{end}} {{ define "main" }}