hugo-theme-readable

Fork of https://github.com/cjtheham/hugo-theme-readable
git clone https://git.eamoncaddigan.net/hugo-theme-readable.git
Log | Files | Refs | README | LICENSE

commit 269415bf42314e9f84a1c4543cb5cf08c5674e26
parent 663aa7367bc3d93038fe91dc5402946c5774cb76
Author: cjtheham <cjtheham@protonmail.com>
Date:   Thu, 16 Feb 2023 13:50:05 -0600

fix: render image

Diffstat:
Alayouts/_default/_markup/render-image.html | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html @@ -0,0 +1,4 @@ +<figure> + <img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" {{ with .Title}} title="{{ . }}"{{ end }} /> + <figcaption>{{ .Text }}</figcaption> +</figure> +\ No newline at end of file