From dd7670cf72b27c1b330d3732a483ca22e3a3db18 Mon Sep 17 00:00:00 2001 From: Sivaldo Date: Mon, 29 Jun 2026 18:36:52 -0300 Subject: Commit inicial --- layouts/shortcodes/img.html | 34 ++++++++++++++++++++++++++++++++++ layouts/shortcodes/rawhtml.html | 1 + layouts/shortcodes/video.html | 3 +++ 3 files changed, 38 insertions(+) create mode 100644 layouts/shortcodes/img.html create mode 100644 layouts/shortcodes/rawhtml.html create mode 100644 layouts/shortcodes/video.html (limited to 'layouts/shortcodes') diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html new file mode 100644 index 0000000..40002cf --- /dev/null +++ b/layouts/shortcodes/img.html @@ -0,0 +1,34 @@ + + +
+ {{- with .Get "link"}}{{ end -}} + {{.}} + {{- if .Get "link"}}{{ end -}} + + {{- with .Get "caption" -}} +
+ {{- . -}} +
+ {{- end -}} +
diff --git a/layouts/shortcodes/rawhtml.html b/layouts/shortcodes/rawhtml.html new file mode 100644 index 0000000..59448a1 --- /dev/null +++ b/layouts/shortcodes/rawhtml.html @@ -0,0 +1 @@ +{{ .Inner }} diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html new file mode 100644 index 0000000..51be6ec --- /dev/null +++ b/layouts/shortcodes/video.html @@ -0,0 +1,3 @@ + -- cgit v1.2.3