diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-15 15:10:57 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-15 15:10:57 +0300 |
commit | 314fd719d318ebba7c85e50e621c021179054290 (patch) | |
tree | f4c6e2f71bfe0d489933c4ba34d5d04d1ba6d117 /layouts/_default/_markup | |
parent | 47fc02a8c71af4926148beb5d5cc0fc221aa5429 (diff) |
Auto-commit 2024-12-15
Diffstat (limited to 'layouts/_default/_markup')
-rw-r--r-- | layouts/_default/_markup/render-image.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html index b2ccc08..3d15a11 100644 --- a/layouts/_default/_markup/render-image.html +++ b/layouts/_default/_markup/render-image.html @@ -1,5 +1,5 @@ <figure class="figure"> - +<a href="{{ .Destination | safeURL }}"> <img class="d-block img-fluid mb-2 rounded border shadow" max-width="800" @@ -8,6 +8,7 @@ {{- with .Text }} alt="{{ . }}"{{ end -}} {{- with .Title }} title="{{ . }}"{{ end -}} > +</a> {{- with .Title }}<figcaption class="figure-caption">{{.}}</figcaption>{{end -}} </figure>
\ No newline at end of file |