diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-15 13:05:07 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-15 13:05:07 +0300 |
commit | f7c375053d0dd86217e5db628a1e81200d13659f (patch) | |
tree | d48d2a534ae1604d9909c071f17ceb590a4fdfe1 /layouts | |
parent | f7c3137844795426041a6e1577296d2b803028aa (diff) |
Auto-commit 2024-12-15
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 -}} +> |