diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/_markup/render-image.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html new file mode 100644 index 0000000..93e530d --- /dev/null +++ b/layouts/_default/_markup/render-image.html @@ -0,0 +1,8 @@ +<img + class="d-block img-fluid mb-2 rounded border shadow" + max-width="800" + loading="lazy" + src="{{ .Destination | safeURL }}" + {{- with .Text }} alt="{{ . }}"{{ end -}} + {{- with .Title }} title="{{ . }}"{{ end -}} +> |