From ca9efbcaaaffc5c79af93188c991051ba1c7a42e Mon Sep 17 00:00:00 2001 From: Skiz Date: Wed, 17 Jul 2024 20:12:54 -0400 Subject: Created theme file --- themes/schizo/layouts/shortcodes/hidvid.html | 10 ++++++++++ themes/schizo/layouts/shortcodes/img.html | 20 ++++++++++++++++++++ themes/schizo/layouts/shortcodes/tagcloud.html | 3 +++ themes/schizo/layouts/shortcodes/vid.html | 6 ++++++ 4 files changed, 39 insertions(+) create mode 100644 themes/schizo/layouts/shortcodes/hidvid.html create mode 100644 themes/schizo/layouts/shortcodes/img.html create mode 100644 themes/schizo/layouts/shortcodes/tagcloud.html create mode 100644 themes/schizo/layouts/shortcodes/vid.html (limited to 'themes/schizo/layouts/shortcodes') diff --git a/themes/schizo/layouts/shortcodes/hidvid.html b/themes/schizo/layouts/shortcodes/hidvid.html new file mode 100644 index 0000000..14f592d --- /dev/null +++ b/themes/schizo/layouts/shortcodes/hidvid.html @@ -0,0 +1,10 @@ +
+ Click to reveal video. + +
diff --git a/themes/schizo/layouts/shortcodes/img.html b/themes/schizo/layouts/shortcodes/img.html new file mode 100644 index 0000000..ff7959b --- /dev/null +++ b/themes/schizo/layouts/shortcodes/img.html @@ -0,0 +1,20 @@ + +
+ {{- with .Get "link"}}{{ end -}} + {{.}} + {{- if .Get "link"}}{{ end -}} + {{- with .Get "caption" -}} +
+ {{- . -}} +
+ {{- end -}} +
diff --git a/themes/schizo/layouts/shortcodes/tagcloud.html b/themes/schizo/layouts/shortcodes/tagcloud.html new file mode 100644 index 0000000..0cf0118 --- /dev/null +++ b/themes/schizo/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/themes/schizo/layouts/shortcodes/vid.html b/themes/schizo/layouts/shortcodes/vid.html new file mode 100644 index 0000000..4c612fe --- /dev/null +++ b/themes/schizo/layouts/shortcodes/vid.html @@ -0,0 +1,6 @@ + -- cgit v1.2.3