Update render-image
template to support new Hugo version
This commit is contained in:
parent
f12dd0c674
commit
3cbf37b48c
1 changed files with 1 additions and 1 deletions
|
@ -9,6 +9,6 @@
|
|||
<figure class="text-center">
|
||||
<img src="{{ $destination | safeURL }}" alt="{{ .Text | plainify }}" style='max-width: {{ default "90" .Title }}%;' referrerpolicy="no-referrer" loading="lazy" decoding="async" />
|
||||
<figcaption class="text-center">
|
||||
<small>{{ .Text | markdownify }}</small>
|
||||
<small>{{ .Text | safeHTML }}</small>
|
||||
</figcaption>
|
||||
</figure>
|
||||
|
|
Loading…
Reference in a new issue