diff --git a/layouts/partials/content-details.html b/layouts/partials/content-details.html index 99ef5d1..3c34f40 100644 --- a/layouts/partials/content-details.html +++ b/layouts/partials/content-details.html @@ -1,11 +1,25 @@ {{ if not .Date.IsZero }} - - {{ .Date.Format "2006-01-02" }} + + {{ .Date.Format "2006-01-02" }} + +{{ end }} + +{{ if not .Parent.IsHome }} + {{ if gt .ReadingTime 2 }} + + {{ .ReadingTime }} minutes + {{ end }} + + {{ .WordCount }} words + {{ end }} {{ if .Params.tags }} - {{ range $1, $e := .Params.tags }} - #{{ . }} - {{ end }} + + + + {{ range $i, $e := .Params.tags }} + #{{ . }} + {{ end }} {{ end }} diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index 9b5a4e5..35e0def 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -128,3 +128,7 @@ h1, h2, h3, h4, h5, h6 { ul ul, ol ol { padding-left: $spacer * 1.5; } + +.content-detail { + text-indent: 2em; +}