diff options
| author | BigCoke233 <hi@guhub.cn> | 2026-01-01 00:00:57 +0800 |
|---|---|---|
| committer | BigCoke233 <hi@guhub.cn> | 2026-01-01 00:00:57 +0800 |
| commit | 9c4e16ba8b0ac7f9eaf091ede70a45964d4e25a1 (patch) | |
| tree | 83be6e04a5a09284a9b10bd197f91f97eeb37adb /layouts | |
| parent | c24c6ba230f33fa969c80098ef986e8275359eda (diff) | |
fix: images with relative path cause gallery to break
Former-commit-id: bbcd87257c34db37431a04120b66d5369fd85028
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_shortcodes/gallery.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_shortcodes/gallery.html b/layouts/_shortcodes/gallery.html index ce456e05..da8e4ab5 100644 --- a/layouts/_shortcodes/gallery.html +++ b/layouts/_shortcodes/gallery.html @@ -1,3 +1,3 @@ <div class="gallery{{ with .Get "class" }} {{ . }}{{ end }}"> - {{ .Inner | markdownify | safeHTML }} + {{ .Page.RenderString .Inner }} </div> |
