diff --git a/layouts/partials/single-header.html b/layouts/partials/single-header.html index 1f5c6b3..09744f6 100644 --- a/layouts/partials/single-header.html +++ b/layouts/partials/single-header.html @@ -1,11 +1,14 @@ -{{ $image := (.Resources.ByType "image").GetMatch "images/*featured*" }} -

{{ .Title }}

{{ .Description | markdownify }}

{{ if and ( .Lastmod ) ( ne .Lastmod .PublishDate) }} {{ end }} + + +{{ if and (in (printf "/%s/" .File.Dir) "/posts/") (ne .File.BaseFileName "_index") }} {{ printf "Estimated reading time: %d minutes" .ReadingTime }} +{{ end }} +