diff --git a/themes/hugo-casper3/assets/scss/main.scss b/themes/hugo-casper3/assets/scss/main.scss index bc7bb86..79ac0da 100644 --- a/themes/hugo-casper3/assets/scss/main.scss +++ b/themes/hugo-casper3/assets/scss/main.scss @@ -792,7 +792,7 @@ h5,h6{ font-family:"Mustica Pro","Roboto",sans-serif } .no-image .post-card-title{ - margin-top:0 + margin-top:6px } .post-card-content{ flex-grow:1; diff --git a/themes/hugo-casper3/layouts/_default/single.html b/themes/hugo-casper3/layouts/_default/single.html index 96accf4..34976c9 100644 --- a/themes/hugo-casper3/layouts/_default/single.html +++ b/themes/hugo-casper3/layouts/_default/single.html @@ -35,7 +35,7 @@ {{ if ne .Lastmod .Date }} {{ end }} {{ .ReadingTime }} min read {{ .WordCount }} words - {{ if isset .Params "license" }} {{ .Params.license }}{{ end }} + {{ if isset .Params "license" }} {{ .Params.license }}{{ end }} {{ if isset .Params "download" }} Download{{ end }}  {{ range (.GetTerms "tags") }} {{ .LinkTitle }}   diff --git a/themes/hugo-casper3/layouts/partials/post-card.html b/themes/hugo-casper3/layouts/partials/post-card.html index b7cc624..902d315 100644 --- a/themes/hugo-casper3/layouts/partials/post-card.html +++ b/themes/hugo-casper3/layouts/partials/post-card.html @@ -35,8 +35,8 @@ {{ if ne .context.Lastmod .context.Date }} {{ end }} - {{ .context.ReadingTime }} min read {{ range (.context.GetTerms "tags") }} - {{ .LinkTitle }}   + {{ if ne .context.ReadingTime 0 }} {{ .context.ReadingTime }} min read {{ range (.context.GetTerms "tags") }} + {{ .LinkTitle }}  {{ end }} {{ end }}