From 495e1c1b1e008c3af3245ea3540d4240d8d42432 Mon Sep 17 00:00:00 2001 From: geekifan Date: Sun, 27 Apr 2025 11:34:43 +0800 Subject: [PATCH] add filepath shortcode and reorganize shortcodes --- layouts/shortcodes/{ => embed}/audio.html | 0 layouts/shortcodes/{ => embed}/bilibili.html | 0 layouts/shortcodes/{ => embed}/video.html | 0 layouts/shortcodes/{ => embed}/youtube.html | 0 layouts/shortcodes/markdown/filepath.html | 1 + 5 files changed, 1 insertion(+) rename layouts/shortcodes/{ => embed}/audio.html (100%) rename layouts/shortcodes/{ => embed}/bilibili.html (100%) rename layouts/shortcodes/{ => embed}/video.html (100%) rename layouts/shortcodes/{ => embed}/youtube.html (100%) create mode 100644 layouts/shortcodes/markdown/filepath.html diff --git a/layouts/shortcodes/audio.html b/layouts/shortcodes/embed/audio.html similarity index 100% rename from layouts/shortcodes/audio.html rename to layouts/shortcodes/embed/audio.html diff --git a/layouts/shortcodes/bilibili.html b/layouts/shortcodes/embed/bilibili.html similarity index 100% rename from layouts/shortcodes/bilibili.html rename to layouts/shortcodes/embed/bilibili.html diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/embed/video.html similarity index 100% rename from layouts/shortcodes/video.html rename to layouts/shortcodes/embed/video.html diff --git a/layouts/shortcodes/youtube.html b/layouts/shortcodes/embed/youtube.html similarity index 100% rename from layouts/shortcodes/youtube.html rename to layouts/shortcodes/embed/youtube.html diff --git a/layouts/shortcodes/markdown/filepath.html b/layouts/shortcodes/markdown/filepath.html new file mode 100644 index 0000000..7e5faac --- /dev/null +++ b/layouts/shortcodes/markdown/filepath.html @@ -0,0 +1 @@ +{{ .Get "src" }} \ No newline at end of file