From a2718d8aa3f28f2859a52451bfc14ac6b4ccf3e5 Mon Sep 17 00:00:00 2001 From: Xin Date: Tue, 11 Mar 2025 21:42:16 +0000 Subject: [PATCH] fix: use InnerDeindent for filetree shortcode rendering (#613) --- layouts/shortcodes/filetree/container.html | 2 +- layouts/shortcodes/filetree/folder.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/shortcodes/filetree/container.html b/layouts/shortcodes/filetree/container.html index 7773ae2..cc28b0b 100644 --- a/layouts/shortcodes/filetree/container.html +++ b/layouts/shortcodes/filetree/container.html @@ -1,5 +1,5 @@
- {{- .Inner -}} + {{- .InnerDeindent -}}
diff --git a/layouts/shortcodes/filetree/folder.html b/layouts/shortcodes/filetree/folder.html index 9ee9a9e..107a84c 100644 --- a/layouts/shortcodes/filetree/folder.html +++ b/layouts/shortcodes/filetree/folder.html @@ -12,6 +12,6 @@ {{ $name }}