contentthumbnail(bool) now supported in feed posts

This commit is contained in:
shockrah 2024-02-04 16:34:03 -08:00
parent 730ee7ec7f
commit c4e1084132
2 changed files with 6 additions and 3 deletions

View File

@ -3,5 +3,6 @@ title: '{{ replace .File.ContentBaseName "-" " " | title }}'
description: null
date: {{ .Date }}
thumbnail: null
ContentThumbnail: true
article: false
---

View File

@ -7,9 +7,11 @@
</div>
{{ end }}
{{ if .Params.Thumbnail }}
{{ if .Params.ContentThumbnail }}
<a href="{{ .Params.Thumbnail }}">
<img class="card-img" src="{{ .Params.Thumbnail }}">
</a>
{{ end }}
{{ end }}
<div class="container">{{ .Content }}</div>
{{ end }}