From 46a59b1d6d0dc3e54b7cf6f12beb28c0b4586a48 Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Wed, 27 Mar 2024 15:30:14 +0000 Subject: [PATCH] Remove broken imports; soundcloud --- assets/scss/_main.scss | 8 +++++++- content/notes/twitter/100137658537345024/index.md | 10 ---------- content/notes/twitter/100170508036870144/index.md | 10 ---------- content/notes/twitter/100171131071381505/index.md | 10 ---------- content/notes/twitter/100184788488560640/index.md | 7 ------- content/notes/twitter/10018612635/index.md | 8 -------- content/notes/twitter/100186536888377344/index.md | 10 ---------- content/notes/twitter/100199084505313280/index.md | 7 ------- content/notes/twitter/10086552550/index.md | 4 +++- content/notes/twitter/10089130583/index.md | 7 ------- content/notes/twitter/10367767690/index.md | 7 ------- content/notes/twitter/10389659422/index.md | 7 ------- content/notes/twitter/10421369991/index.md | 2 +- content/notes/twitter/10534192256/index.md | 7 ------- content/notes/twitter/10623351242/index.md | 2 +- content/notes/twitter/10776492436/index.md | 8 -------- content/notes/twitter/10793308578/index.md | 2 +- content/notes/twitter/10884812125/index.md | 2 +- content/notes/twitter/10889104186/index.md | 2 +- content/notes/twitter/97222282317017088/index.md | 5 ++++- content/reading-lists/curiosity/xxiivv.md | 2 +- layouts/shortcodes/soundcloud.html | 10 ++++++++++ layouts/shortcodes/spotify.html | 6 +++--- 23 files changed, 33 insertions(+), 110 deletions(-) delete mode 100644 content/notes/twitter/100137658537345024/index.md delete mode 100644 content/notes/twitter/100170508036870144/index.md delete mode 100644 content/notes/twitter/100171131071381505/index.md delete mode 100644 content/notes/twitter/100184788488560640/index.md delete mode 100644 content/notes/twitter/10018612635/index.md delete mode 100644 content/notes/twitter/100186536888377344/index.md delete mode 100644 content/notes/twitter/100199084505313280/index.md delete mode 100644 content/notes/twitter/10089130583/index.md delete mode 100644 content/notes/twitter/10367767690/index.md delete mode 100644 content/notes/twitter/10389659422/index.md delete mode 100644 content/notes/twitter/10534192256/index.md delete mode 100644 content/notes/twitter/10776492436/index.md create mode 100644 layouts/shortcodes/soundcloud.html diff --git a/assets/scss/_main.scss b/assets/scss/_main.scss index 1dac8fba..5e5dd7df 100644 --- a/assets/scss/_main.scss +++ b/assets/scss/_main.scss @@ -221,7 +221,7 @@ article { margin-right: auto; max-width: 100%; - &.audio,&.spotify { + &.audio { margin: 0; padding: 0; width: 100%; @@ -958,3 +958,9 @@ mark { opacity: 0.6; } } + +.embed iframe { + border-radius:12px; + width:100%; + max-width:486px; +} \ No newline at end of file diff --git a/content/notes/twitter/100137658537345024/index.md b/content/notes/twitter/100137658537345024/index.md deleted file mode 100644 index 1ffce974..00000000 --- a/content/notes/twitter/100137658537345024/index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -date: "2011-08-07T09:34:12Z" -tags: -- imported -- from-twitter -location: - latitude: 11.8761654 - longitude: 79.82213177 ---- -Perfection http://360.io/wPzFxG diff --git a/content/notes/twitter/100170508036870144/index.md b/content/notes/twitter/100170508036870144/index.md deleted file mode 100644 index a3510570..00000000 --- a/content/notes/twitter/100170508036870144/index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -date: "2011-08-07T11:44:44Z" -tags: -- imported -- from-twitter -location: - latitude: 11.94217644 - longitude: 79.83070965 ---- -Hotel roof, Pobdicherry is pretty from above. http://360.io/Dwa9YH diff --git a/content/notes/twitter/100171131071381505/index.md b/content/notes/twitter/100171131071381505/index.md deleted file mode 100644 index 4ef521b0..00000000 --- a/content/notes/twitter/100171131071381505/index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -date: "2011-08-07T11:47:13Z" -tags: -- imported -- from-twitter -location: - latitude: 11.94199389 - longitude: 79.83094561 ---- -The pool has been amazing\! http://360.io/B7Hng5 diff --git a/content/notes/twitter/100184788488560640/index.md b/content/notes/twitter/100184788488560640/index.md deleted file mode 100644 index 540ee8a8..00000000 --- a/content/notes/twitter/100184788488560640/index.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -date: "2011-08-07T12:41:29Z" -tags: -- imported -- from-twitter ---- -The sun sets on Pondicherry as our evening begins… http://instagr.am/p/Jl5uQ/ diff --git a/content/notes/twitter/10018612635/index.md b/content/notes/twitter/10018612635/index.md deleted file mode 100644 index ec909d3f..00000000 --- a/content/notes/twitter/10018612635/index.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -date: "2010-03-05T10:35:45Z" -tags: -- imported -- from-twitter ---- -Get bleeping\!\ -Pong: Because its just *that* retro http://bleepie.com/g/s7 diff --git a/content/notes/twitter/100186536888377344/index.md b/content/notes/twitter/100186536888377344/index.md deleted file mode 100644 index 59f1753b..00000000 --- a/content/notes/twitter/100186536888377344/index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -date: "2011-08-07T12:48:26Z" -tags: -- imported -- from-twitter -location: - latitude: 11.94221965 - longitude: 79.83062829 ---- -Leaving the hotel; definitely would stay here again. http://360.io/mqCdxp diff --git a/content/notes/twitter/100199084505313280/index.md b/content/notes/twitter/100199084505313280/index.md deleted file mode 100644 index cf075724..00000000 --- a/content/notes/twitter/100199084505313280/index.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -date: "2011-08-07T13:38:18Z" -tags: -- imported -- from-twitter ---- -Give the elephant a coin in his trunk and he will bless you. http://instagr.am/p/JmH-8/ diff --git a/content/notes/twitter/10086552550/index.md b/content/notes/twitter/10086552550/index.md index b4c525c5..3b829696 100644 --- a/content/notes/twitter/10086552550/index.md +++ b/content/notes/twitter/10086552550/index.md @@ -4,4 +4,6 @@ tags: - imported - from-twitter --- -Don't have a musical ear, anyone fancy picking out the rudimentary chord pattern to ★ Darwin Deez ♫ Bad Day ? [http://www.thesixtyone.com/s/s3Qdy8fVK2x/](http://www.thesixtyone.com/s/s3Qdy8fVK2x/) +Don't have a musical ear, anyone fancy picking out the rudimentary chord pattern to ★ Darwin Deez ♫ Bad Day ? + +{{< spotify path="/track/0FcgzSPjbGg5iVFO28jgqt?si=68f0764431774293" artist="Darwin Deez" title="Bad Day" >}} diff --git a/content/notes/twitter/10089130583/index.md b/content/notes/twitter/10089130583/index.md deleted file mode 100644 index 1bb934e0..00000000 --- a/content/notes/twitter/10089130583/index.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -date: "2010-03-06T20:50:21Z" -tags: -- imported -- from-twitter ---- -http://yfrog.com/0bvfuaj Accusatory or existential? diff --git a/content/notes/twitter/10367767690/index.md b/content/notes/twitter/10367767690/index.md deleted file mode 100644 index 71c22c02..00000000 --- a/content/notes/twitter/10367767690/index.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -date: "2010-03-12T11:28:48Z" -tags: -- imported -- from-twitter ---- -http://yfrog.com/2amwep an odd advertisment to say the least, but it made me click-thru, so I guess it worked? diff --git a/content/notes/twitter/10389659422/index.md b/content/notes/twitter/10389659422/index.md deleted file mode 100644 index 922a1b04..00000000 --- a/content/notes/twitter/10389659422/index.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -date: "2010-03-12T20:58:38Z" -tags: -- imported -- from-twitter ---- -Making started a few hours early as I help my housemate finish his spider outfit for a party :P http://yfrog.com/evkyqj diff --git a/content/notes/twitter/10421369991/index.md b/content/notes/twitter/10421369991/index.md index 2c114f3e..9c7a8e91 100644 --- a/content/notes/twitter/10421369991/index.md +++ b/content/notes/twitter/10421369991/index.md @@ -5,4 +5,4 @@ tags: - from-twitter - makerfaire_uk --- -Having a fantastic time at the [makerfaire_uk](/tags/makerfaire_uk) - Hexapods\! Digital spraypaint\! Good times http://yfrog.com/joql0j http://yfrog.com/b0fyvj +Having a fantastic time at the [makerfaire_uk](/tags/makerfaire_uk) - Hexapods\! Digital spraypaint\! Good times diff --git a/content/notes/twitter/10534192256/index.md b/content/notes/twitter/10534192256/index.md deleted file mode 100644 index c251f274..00000000 --- a/content/notes/twitter/10534192256/index.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -date: "2010-03-15T20:43:26Z" -tags: -- imported -- from-twitter ---- -Roast for one: oh so very tasty\! http://yfrog.com/j369ij diff --git a/content/notes/twitter/10623351242/index.md b/content/notes/twitter/10623351242/index.md index a3a25ab3..3fdf6ff3 100644 --- a/content/notes/twitter/10623351242/index.md +++ b/content/notes/twitter/10623351242/index.md @@ -5,4 +5,4 @@ tags: - from-twitter - RidiculousSlogans --- -[RidiculousSlogans](/tags/ridiculousslogans) Ginsters: "Real honest food" http://yfrog.com/c9vw2ej +[RidiculousSlogans](/tags/ridiculousslogans) Ginsters: "Real honest food" diff --git a/content/notes/twitter/10776492436/index.md b/content/notes/twitter/10776492436/index.md deleted file mode 100644 index 95b9fb34..00000000 --- a/content/notes/twitter/10776492436/index.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -date: "2010-03-20T15:15:04Z" -tags: -- imported -- from-twitter -- fail ---- -Security [fail](/tags/fail) http://yfrog.com/ek5bxj diff --git a/content/notes/twitter/10793308578/index.md b/content/notes/twitter/10793308578/index.md index 5e30a05c..9c48012b 100644 --- a/content/notes/twitter/10793308578/index.md +++ b/content/notes/twitter/10793308578/index.md @@ -5,4 +5,4 @@ tags: - from-twitter - SoundCloud --- -likes The Eternals by Roobux on [SoundCloud](/tags/SoundCloud) http://soundcloud.com/roobux/the-eternals +likes The Eternals by Roobux on [SoundCloud](/tags/SoundCloud) https://soundcloud.com/roobux/the-eternals diff --git a/content/notes/twitter/10884812125/index.md b/content/notes/twitter/10884812125/index.md index e577a6e3..28e259c3 100644 --- a/content/notes/twitter/10884812125/index.md +++ b/content/notes/twitter/10884812125/index.md @@ -4,4 +4,4 @@ tags: - imported - from-twitter --- -Late to the party, but this is amazing: [http://stackoverflow.com/questions/891643/twitter-image-encoding-challenge](http://stackoverflow.com/questions/891643/twitter-image-encoding-challenge) +Late to the party, but this is amazing: [stackoverflow.com/questions/891643/twitter-image-encoding-challenge](https://stackoverflow.com/questions/891643/twitter-image-encoding-challenge) diff --git a/content/notes/twitter/10889104186/index.md b/content/notes/twitter/10889104186/index.md index ecf2d0f4..1c0ac068 100644 --- a/content/notes/twitter/10889104186/index.md +++ b/content/notes/twitter/10889104186/index.md @@ -4,4 +4,4 @@ tags: - imported - from-twitter --- -NB. don't attend his dubstep nights: [http://arts.hurryupharry.org/2010/03/22/warning-to-dubstep-fans-london-promoter-is-bnp-member/](http://arts.hurryupharry.org/2010/03/22/warning-to-dubstep-fans-london-promoter-is-bnp-member/) +NB. don't attend his dubstep nights: _[Warning to Dubstep fans: London promoter is BNP member](https://web.archive.org/web/20100325084220/http://arts.hurryupharry.org/2010/03/22/warning-to-dubstep-fans-london-promoter-is-bnp-member/)_ diff --git a/content/notes/twitter/97222282317017088/index.md b/content/notes/twitter/97222282317017088/index.md index 756a93cf..f1e2aabd 100644 --- a/content/notes/twitter/97222282317017088/index.md +++ b/content/notes/twitter/97222282317017088/index.md @@ -1,8 +1,11 @@ --- date: "2011-07-30T08:29:33Z" +type: like tags: - imported - from-twitter - SoundCloud --- -likes: California soul \(A.Skillz Remix\) by [@A_SKILLZ](https://twitter.com/A_SKILLZ) on [SoundCloud](/tags/SoundCloud) http://snd.sc/q9BGIx +likes: California soul (A.Skillz Remix) by [@A_SKILLZ](https://twitter.com/A_SKILLZ) on [SoundCloud](/tags/SoundCloud) + +{{< soundcloud path="/tracks/17243256" artist="A.Skillz" title="California Soul" >}} diff --git a/content/reading-lists/curiosity/xxiivv.md b/content/reading-lists/curiosity/xxiivv.md index 57f78f6c..2e8db041 100644 --- a/content/reading-lists/curiosity/xxiivv.md +++ b/content/reading-lists/curiosity/xxiivv.md @@ -2,7 +2,7 @@ title: XXIIVV summary: The Nataniev Library feed: - rss: http://wiki.xxiivv.com/links/rss.xml + rss: https://wiki.xxiivv.com/links/rss.xml url: https://wiki.xxiivv.com/site/home.html --- diff --git a/layouts/shortcodes/soundcloud.html b/layouts/shortcodes/soundcloud.html new file mode 100644 index 00000000..08ed6b4c --- /dev/null +++ b/layouts/shortcodes/soundcloud.html @@ -0,0 +1,10 @@ +{{- $displayArtist := (.Get "artist") }} +{{- $displayTitle := (.Get "title") }} +{{- $songwhip := printf "https://songwhip.com/%s/%s" (partial "kebab.txt" $displayArtist) (partial "kebab.txt" $displayTitle) -}} +
+ +
+ 🎶 {{ $displayArtist }}{{ with $displayTitle }}{{ if $displayArtist }}: {{ end }}{{ . }}{{ end }} + {{ with $songwhip }}
Listen elsewhere{{ end }} +
+
diff --git a/layouts/shortcodes/spotify.html b/layouts/shortcodes/spotify.html index e0fe7ba4..09737577 100644 --- a/layouts/shortcodes/spotify.html +++ b/layouts/shortcodes/spotify.html @@ -1,11 +1,11 @@ {{- $displayArtist := (.Get "composer") | default (.Get "artist") -}} {{- $displayTitle := (.Get "title") | default (.Get "album") -}} -{{ $songwhip := .Get "url" }} +{{- $songwhip := .Get "url" -}} {{- if $displayArtist -}} {{- $songwhip = printf "https://songwhip.com/%s/%s" (partial "kebab.txt" (.Get "artist")) (partial "kebab.txt" $displayTitle) }} {{- end -}} -
- +
+
🎶 {{ $displayArtist }}{{ with $displayTitle }}{{ if $displayArtist }}: {{ end }}{{ . }}{{ end }}
{{ with $songwhip }}Listen elsewhere{{ end }}