From 3369b527356b8d1ad4e55c346c58e253ba8aa783 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Tue, 8 Oct 2024 09:09:02 -0700 Subject: [PATCH] Move the youtube shortcode to the termlite theme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rename it figures/youtube → youtube and update the posts that use it. --- content/blog/2021/09/oskitone-scout/index.md | 2 +- content/blog/2022/01/cmss-3modules/index.md | 2 +- layouts/shortcodes/figures/youtube.html | 12 ------------ themes/termlite | 2 +- 4 files changed, 3 insertions(+), 15 deletions(-) delete mode 100644 layouts/shortcodes/figures/youtube.html diff --git a/content/blog/2021/09/oskitone-scout/index.md b/content/blog/2021/09/oskitone-scout/index.md index 8d74247..3b3012c 100644 --- a/content/blog/2021/09/oskitone-scout/index.md +++ b/content/blog/2021/09/oskitone-scout/index.md @@ -7,7 +7,7 @@ categories: ["Music"] tags: ["Synthesizers", "Electronics", "DIY", "Compositions"] --- -{{< figures/youtube id="gCSwWsxzy_c" title="A timelapse video of me building an Oskitone Scout, set to music produced using the Scout itself">}} +{{< youtube id="gCSwWsxzy_c" title="A timelapse video of me building an Oskitone Scout, set to music produced using the Scout itself" >}} [Oskitone][oskitone] recently released a new synthesizer: the [Scout][scout]. It's a small monophonic keyboard synth built around an Arduino. It was a quick diff --git a/content/blog/2022/01/cmss-3modules/index.md b/content/blog/2022/01/cmss-3modules/index.md index 96d8bac..f78c23a 100644 --- a/content/blog/2022/01/cmss-3modules/index.md +++ b/content/blog/2022/01/cmss-3modules/index.md @@ -7,7 +7,7 @@ categories: ["Music"] tags: ["Eurorack", "Synthesizers", "Recordings", "Performances", "Compositions"] --- -{{< figures/youtube id="sqr7g4P85aM" title="A top-down video of me operating a small Eurorack system made of only three modules. Lights flash, an incorporeal hand turns knobs to sculpt the sound." >}} +{{< youtube id="sqr7g4P85aM" title="A top-down video of me operating a small Eurorack system made of only three modules. Lights flash, an incorporeal hand turns knobs to sculpt the sound." >}} This is my submission to the [Three Module Challenge][3mc] show put on by Colorado Modular Synth Society in late January 2022. This is my first time diff --git a/layouts/shortcodes/figures/youtube.html b/layouts/shortcodes/figures/youtube.html deleted file mode 100644 index a1e791a..0000000 --- a/layouts/shortcodes/figures/youtube.html +++ /dev/null @@ -1,12 +0,0 @@ -{{- $pc := .Page.Site.Config.Privacy.YouTube -}} -{{- if not $pc.Disable -}} -{{- $ytHost := cond $pc.PrivacyEnhanced "www.youtube-nocookie.com" "www.youtube.com" -}} -{{- $id := .Get "id" | default (.Get 0) -}} -{{- $class := .Get "class" | default (.Get 1) -}} -{{- $title := .Get "title" | default "YouTube Video" }} -
-
- -
-
-{{ end -}} diff --git a/themes/termlite b/themes/termlite index f078b30..b1a6fa9 160000 --- a/themes/termlite +++ b/themes/termlite @@ -1 +1 @@ -Subproject commit f078b30866f483df92992a220d45862f0df7efd0 +Subproject commit b1a6fa977d543b1aa7235c70dea9d97b4fab97f8