Move the youtube shortcode to the termlite theme
Rename it figures/youtube → youtube and update the posts that use it.
This commit is contained in:
parent
d496238184
commit
3369b52735
4 changed files with 3 additions and 15 deletions
|
@ -7,7 +7,7 @@ categories: ["Music"]
|
||||||
tags: ["Synthesizers", "Electronics", "DIY", "Compositions"]
|
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].
|
[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
|
It's a small monophonic keyboard synth built around an Arduino. It was a quick
|
||||||
|
|
|
@ -7,7 +7,7 @@ categories: ["Music"]
|
||||||
tags: ["Eurorack", "Synthesizers", "Recordings", "Performances", "Compositions"]
|
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
|
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
|
Colorado Modular Synth Society in late January 2022. This is my first time
|
||||||
|
|
|
@ -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" }}
|
|
||||||
<figure {{ with $class }}class="{{ . }}"{{ end }}>
|
|
||||||
<div class="youtube">
|
|
||||||
<iframe src="https://{{ $ytHost }}/embed/{{ $id }}{{ with .Get "autoplay" }}{{ if eq . "true" }}?autoplay=1{{ end }}{{ end }}" allowfullscreen frameborder=0 title="{{ $title }}"></iframe>
|
|
||||||
</div>
|
|
||||||
</figure>
|
|
||||||
{{ end -}}
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit f078b30866f483df92992a220d45862f0df7efd0
|
Subproject commit b1a6fa977d543b1aa7235c70dea9d97b4fab97f8
|
Loading…
Add table
Add a link
Reference in a new issue