mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 12:52:10 +00:00
stop adding placeholder thumbnails to feeds
This commit is contained in:
parent
4205af9a80
commit
9847fadf95
1 changed files with 2 additions and 2 deletions
|
@ -96,9 +96,9 @@
|
|||
<activity:object-type>http://activitystrea.ms/schema/1.0/{{ $type }}</activity:object-type>
|
||||
<activity:verb>http://activitystrea.ms/schema/1.0/post</activity:verb>
|
||||
{{- with .Params.image -}}
|
||||
{{- $image := partial "cache-bust.html" (printf "/p/%s" . ) -}}
|
||||
{{- $thumbnail := partial "cache-bust.html" (printf "/p/%s" . ) -}}
|
||||
<media:thumbnail url="{{ $thumbnail.Permalink }}" width="{{ $thumbnail.Width }}" height="{{ $thumbnail.Height }}" />
|
||||
{{- end -}}
|
||||
<media:thumbnail url="{{ $image.Permalink }}" width="{{ $image.Width }}" height="{{ $image.Height }}" />
|
||||
{{ with .Description -}}
|
||||
<summary type="text">{{ . }}</summary>
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue