From 4429eeeea84bfa4b9e636deaab5c9620ccf776a6 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Tue, 7 Jan 2025 18:10:30 -0800 Subject: [PATCH] Update image render hooks examples to conform with Commonmark --- content/en/render-hooks/images.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/render-hooks/images.md b/content/en/render-hooks/images.md index eca346c10..d3067c5a4 100755 --- a/content/en/render-hooks/images.md +++ b/content/en/render-hooks/images.md @@ -91,7 +91,7 @@ In its default configuration, Hugo renders Markdown images according to the [Com {{< code file=layouts/_default/_markup/render-image.html copy=true >}} {{ . }} {{- /* chomp trailing newline */ -}} @@ -103,13 +103,13 @@ To render standalone images within `figure` elements: {{- if .IsBlock -}}
{{ . }} {{- with .Title }}
{{ . }}
{{ end -}}
{{- else -}} {{ . }} {{- end -}}