contentthumbnail(bool) now supported in feed posts
This commit is contained in:
parent
730ee7ec7f
commit
c4e1084132
@ -3,5 +3,6 @@ title: '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
description: null
|
||||
date: {{ .Date }}
|
||||
thumbnail: null
|
||||
ContentThumbnail: true
|
||||
article: false
|
||||
---
|
||||
|
@ -7,9 +7,11 @@
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if .Params.Thumbnail }}
|
||||
<a href="{{ .Params.Thumbnail }}">
|
||||
<img class="card-img" src="{{ .Params.Thumbnail }}">
|
||||
</a>
|
||||
{{ if .Params.ContentThumbnail }}
|
||||
<a href="{{ .Params.Thumbnail }}">
|
||||
<img class="card-img" src="{{ .Params.Thumbnail }}">
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<div class="container">{{ .Content }}</div>
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user