From 07a183df1175414e1ed800f9fcac64289d93fc8b Mon Sep 17 00:00:00 2001 From: bacalhau Date: Wed, 19 Mar 2025 22:54:41 +0000 Subject: [PATCH] Upload files to "layouts/shortcodes" --- layouts/shortcodes/hidvid.html | 10 ++++++++++ layouts/shortcodes/img.html | 20 ++++++++++++++++++++ layouts/shortcodes/tagcloud.html | 3 +++ layouts/shortcodes/vid.html | 6 ++++++ 4 files changed, 39 insertions(+) create mode 100644 layouts/shortcodes/hidvid.html create mode 100644 layouts/shortcodes/img.html create mode 100644 layouts/shortcodes/tagcloud.html create mode 100644 layouts/shortcodes/vid.html diff --git a/layouts/shortcodes/hidvid.html b/layouts/shortcodes/hidvid.html new file mode 100644 index 0000000..14f592d --- /dev/null +++ b/layouts/shortcodes/hidvid.html @@ -0,0 +1,10 @@ +
+ Click to reveal video. + +
diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html new file mode 100644 index 0000000..ff7959b --- /dev/null +++ b/layouts/shortcodes/img.html @@ -0,0 +1,20 @@ + +
+ {{- with .Get "link"}}{{ end -}} + {{.}} + {{- if .Get "link"}}{{ end -}} + {{- with .Get "caption" -}} +
+ {{- . -}} +
+ {{- end -}} +
diff --git a/layouts/shortcodes/tagcloud.html b/layouts/shortcodes/tagcloud.html new file mode 100644 index 0000000..0cf0118 --- /dev/null +++ b/layouts/shortcodes/tagcloud.html @@ -0,0 +1,3 @@ +{{ if isset .Site.Taxonomies "tags" }}{{ if not (eq (len .Site.Taxonomies.tags) 0) }} {{ end }}{{ end }} diff --git a/layouts/shortcodes/vid.html b/layouts/shortcodes/vid.html new file mode 100644 index 0000000..4c612fe --- /dev/null +++ b/layouts/shortcodes/vid.html @@ -0,0 +1,6 @@ +