4
0
Fork 1

[Embed] Use new attachment route format

Dieser Commit ist enthalten in:
Hugo Sales 2021-09-23 14:51:31 +01:00
Ursprung 6a2c3eb711
Commit bb81f1f717
Signiert von: someonewithpc
GPG-Schlüssel-ID: 7D0C7EAFC9D835A0
1 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -3,8 +3,7 @@
{% if attributes['has_attachment'] != false %}
{% set thumbnail_parameters = {
'id': embed.getAttachmentId(),
'w': attributes['width'],
'h': attributes['height']
'size': 'small'
} %}
<img alt="{{embed.getTitle() | escape}}" class="{{attributes['class']}}"
width="{{attributes['width']}}" height="{{attributes['height']}}"
@ -37,4 +36,4 @@
<div class="p-summary embed">
{{ embed.getDescription() | escape }}
</div>
</article>
</article>