From: Cameron Otsuka Date: Fri, 9 May 2025 01:22:02 +0000 (-0700) Subject: add youtube shortcode X-Git-Tag: v1.0.0~9 X-Git-Url: https://git.otsuka.systems/?a=commitdiff_plain;h=d3f24b083e4d2a1159a2af9d404aa6b01d8be2e5;p=cotsuka.github.io add youtube shortcode --- diff --git a/_includes/css/style.css b/_includes/css/style.css index 7757d6a..3d052c0 100644 --- a/_includes/css/style.css +++ b/_includes/css/style.css @@ -94,6 +94,7 @@ object { } hr { margin-bottom: 1rem; + margin-top: 1rem; } footer { text-align: center; @@ -134,4 +135,9 @@ footer > address > menu > li { } .collectiontag { font-variant: small-caps; +} +iframe.youtube-shortcode { + aspect-ratio: 16 / 9; + width: 100%; + display: block; } \ No newline at end of file diff --git a/_includes/layouts/base.njk b/_includes/layouts/base.njk index 1b99384..812ac87 100644 --- a/_includes/layouts/base.njk +++ b/_includes/layouts/base.njk @@ -8,7 +8,7 @@ {%- endif %} - + diff --git a/content/links/build-weekly-roundup-2025-week-11.md b/content/links/build-weekly-roundup-2025-week-11.md index ddecc29..813a2d5 100644 --- a/content/links/build-weekly-roundup-2025-week-11.md +++ b/content/links/build-weekly-roundup-2025-week-11.md @@ -2,7 +2,7 @@ title: "Fork in the road for Treasury yields" href: https://x.com/BuildMarkets/status/1900265390279917813 date: 2025-03-13 -modified: 2025-03-18 +modified: 2025-05-08 description: "Build Weekly Roundup - 2025 Week #11" tags: - livestream @@ -19,6 +19,4 @@ posse: - Bitcoin bonds - Tariff whiplash -> BUILD WEEKLY ROUNDUP - 2025 WEEK #11 https://x.com/i/broadcasts/1OwxWXgnrpDKQ -> -> — Build Markets (@BuildMarkets) [March 13, 2025](https://x.com/BuildMarkets/status/1900265390279917813) +{% youtube "https://www.youtube.com/watch?v=SbpNbMR9HdM", "BUILD WEEKLY ROUNDUP - 2025 WEEK #11" %} diff --git a/content/links/build-weekly-roundup-2025-week-12.md b/content/links/build-weekly-roundup-2025-week-12.md index 0a25e03..b3f01bf 100644 --- a/content/links/build-weekly-roundup-2025-week-12.md +++ b/content/links/build-weekly-roundup-2025-week-12.md @@ -2,7 +2,7 @@ title: "Post-FOMC Landscape and the EU Savings & Investments Union" href: https://x.com/BuildMarkets/status/1902821735764004882 date: 2025-03-20 -modified: 2025-03-20 +modified: 2025-05-08 description: "Build Weekly Roundup - 2025 Week #12" tags: - livestream @@ -16,6 +16,4 @@ posse: - Post-FOMC landscape - EU Savings & Investments Union -> BUILD WEEKLY ROUNDUP - 2025 WEEK #12 https://x.com/i/broadcasts/1ZkJzYgkqVeGv -> -> — Build Markets (@BuildMarkets) [March 20, 2025](https://x.com/BuildMarkets/status/1902821735764004882) +{% youtube "https://www.youtube.com/watch?v=dX0VjqLCZVQ", "BUILD WEEKLY ROUNDUP - 2025 WEEK #12" %} diff --git a/content/links/build-weekly-roundup-2025-week-14.md b/content/links/build-weekly-roundup-2025-week-14.md index e742363..518e0a7 100644 --- a/content/links/build-weekly-roundup-2025-week-14.md +++ b/content/links/build-weekly-roundup-2025-week-14.md @@ -2,7 +2,7 @@ title: "Liberation Day in America" href: https://x.com/BuildMarkets/status/1907904612491026601 date: 2025-04-03 -modified: 2025-04-03 +modified: 2025-05-08 description: "Build Weekly Roundup - 2025 Week #14" tags: - livestream @@ -17,6 +17,4 @@ posse: - Will tariffs improve GDP outlook? - CoreWeave IPO -> BUILD WEEKLY ROUNDUP - 2025 WEEK #14 https://x.com/i/broadcasts/1OwGWXbRpApJQ -> -> — Build Markets (@BuildMarkets) [April 3, 2025](https://x.com/BuildMarkets/status/1907904612491026601) +{% youtube "https://www.youtube.com/watch?v=2Mny_aaCciw", "BUILD WEEKLY ROUNDUP - 2025 WEEK #14" %} diff --git a/content/links/build-weekly-roundup-2025-week-15.md b/content/links/build-weekly-roundup-2025-week-15.md index f6be25f..3ee8ee6 100644 --- a/content/links/build-weekly-roundup-2025-week-15.md +++ b/content/links/build-weekly-roundup-2025-week-15.md @@ -2,7 +2,7 @@ title: "Tariffs pack a wallop" href: https://x.com/BuildMarkets/status/1910437627070996981 date: 2025-04-10 -modified: 2025-04-10 +modified: 2025-05-08 description: "Build Weekly Roundup - 2025 Week #15" tags: - livestream @@ -10,11 +10,9 @@ tags: posse: 𝕏: https://x.com/BuildMarkets/status/1910437627070996981 LinkedIn: https://www.linkedin.com/posts/build-asset-management_build-weekly-roundup-2025-week-15-tariffs-ugcPost-7316194096199450624-OW_f - YouTube: https://www.youtube.com/watch?v=88uye8yGnDA&t=117s + YouTube: https://www.youtube.com/watch?v=88uye8yGnDA --- - Tariffs pack a wallop -> BUILD WEEKLY ROUNDUP - 2025 WEEK #15 https://x.com/i/broadcasts/1ynKOlPzWDQGR -> -> — Build Markets (@BuildMarkets) [April 10, 2025](https://x.com/BuildMarkets/status/1910437627070996981) +{% youtube "https://www.youtube.com/watch?v=88uye8yGnDA", "BUILD WEEKLY ROUNDUP - 2025 WEEK #15" %} diff --git a/content/links/build-weekly-roundup-2025-week-17.md b/content/links/build-weekly-roundup-2025-week-17.md index 99b43ff..4d4275b 100644 --- a/content/links/build-weekly-roundup-2025-week-17.md +++ b/content/links/build-weekly-roundup-2025-week-17.md @@ -2,7 +2,7 @@ title: "Retail rushes for gold" href: https://x.com/BuildMarkets/status/1915502782368358771 date: 2025-04-25 -modified: 2025-04-27 +modified: 2025-05-08 description: "Build Weekly Roundup - 2025 Week #17" tags: - livestream @@ -18,6 +18,4 @@ posse: - bitcoin breaks out? - retail rushes for gold -> BUILD WEEKLY ROUNDUP - 2025 WEEK #17 https://x.com/i/broadcasts/1gqxvjdljlwxB -> -> — Build Markets (@BuildMarkets) [April 24, 2025](https://x.com/BuildMarkets/status/1915502782368358771) +{% youtube "https://www.youtube.com/watch?v=7Rnz-um_t_8", "BUILD WEEKLY ROUNDUP - 2025 WEEK #17" %} diff --git a/content/links/build-weekly-roundup-2025-week-18.md b/content/links/build-weekly-roundup-2025-week-18.md index 62f2d2c..e078472 100644 --- a/content/links/build-weekly-roundup-2025-week-18.md +++ b/content/links/build-weekly-roundup-2025-week-18.md @@ -2,7 +2,7 @@ title: "The Art of the (Ukraine) Deal" href: https://x.com/BuildMarkets/status/1918047770180563330 date: 2025-05-01 -modified: 2025-05-02 +modified: 2025-05-08 description: "Build Weekly Roundup - 2025 Week #18" tags: - livestream @@ -17,6 +17,4 @@ posse: - us - ukraine minerals deal - bitcoin custody security in meatspace -> THE ART OF THE (UKRAINE) DEAL - BUILD WEEKLY ROUNDUP - 2025 WEEK #18 https://x.com/i/broadcasts/1dRKZYXWgjrxB -> -> — Build Markets (@BuildMarkets) [May 01, 2025](https://x.com/BuildMarkets/status/1918047770180563330) +{% youtube "https://www.youtube.com/watch?v=Qujrx5baRIY", "THE ART OF THE (UKRAINE) DEAL - BUILD WEEKLY ROUNDUP - 2025 WEEK #18" %} diff --git a/content/links/build-weekly-roundup-2025-week-6.md b/content/links/build-weekly-roundup-2025-week-6.md index 8a26f42..47c7858 100644 --- a/content/links/build-weekly-roundup-2025-week-6.md +++ b/content/links/build-weekly-roundup-2025-week-6.md @@ -2,7 +2,7 @@ title: "Listen in as we break down Treasury yields, bond liquidity, potential regulatory changes, Bitcoin's mempools, and alternative investments 👇" href: https://x.com/CameronOtsuka/status/1887613004839329827 date: 2025-02-06 -modified: 2025-02-13 +modified: 2025-05-08 description: "Build Weekly Roundup - 2025 Week #6" tags: - livestream @@ -13,8 +13,7 @@ posse: ActivityPub: https://otsuka.social/@cameron/statuses/01JKEJFNXWB7HYFABDBGRRX0QT Bluesky: https://bsky.app/profile/otsuka.haus/post/3lhjzlhen5k2f LinkedIn: https://www.linkedin.com/posts/cotsuka_bitcoin-activity-7293379146213117953-Lehb + YouTube: https://www.youtube.com/watch?v=gORG_wURG78 --- -> BUILD WEEKLY ROUNDUP - 2025 WEEK #6 https://x.com/i/broadcasts/1jMJgkgryzqJL -> -> — Cameron Otsuka (@CameronOtsuka) [February 6, 2025](https://x.com/CameronOtsuka/status/1887613004839329827) +{% youtube "https://www.youtube.com/watch?v=gORG_wURG78", "BUILD WEEKLY ROUNDUP - 2025 WEEK #6" %} diff --git a/content/links/build-weekly-roundup-2025-week-7.md b/content/links/build-weekly-roundup-2025-week-7.md index f5e9678..7f47f3d 100644 --- a/content/links/build-weekly-roundup-2025-week-7.md +++ b/content/links/build-weekly-roundup-2025-week-7.md @@ -2,7 +2,7 @@ title: "🚨 the penny peg has broken, new 6-week t-bills, ukraine peace talks, and more" href: https://x.com/CameronOtsuka/status/1890159220974362824 date: 2025-02-13 -modified: 2025-02-20 +modified: 2025-05-08 description: "Build Weekly Roundup - 2025 Week #7" tags: - livestream @@ -11,8 +11,7 @@ posse: 𝕏: https://x.com/CameronOtsuka/status/1890159220974362824 Bluesky: https://bsky.app/profile/otsuka.haus/post/3li3nwiohk22s LinkedIn: https://www.linkedin.com/posts/build-asset-management_the-penny-peg-has-broken-build-weekly-ugcPost-7295919885853896704-FNub + YouTube: https://www.youtube.com/watch?v=kFL1LCy-Rsk --- -> BUILD WEEKLY ROUNDUP - 2025 WEEK #7 https://x.com/i/broadcasts/1jMJgkgryzqJL -> -> — Cameron Otsuka (@CameronOtsuka) [February 13, 2025](https://x.com/CameronOtsuka/status/1890159220974362824) +{% youtube "https://www.youtube.com/watch?v=kFL1LCy-Rsk", "🚨 THE PENNY PEG HAS BROKEN - BUILD WEEKLY ROUNDUP 2025 WEEK #7" %} diff --git a/content/links/build-weekly-roundup-2025-week-8.md b/content/links/build-weekly-roundup-2025-week-8.md index d515917..0b52cb6 100644 --- a/content/links/build-weekly-roundup-2025-week-8.md +++ b/content/links/build-weekly-roundup-2025-week-8.md @@ -2,7 +2,7 @@ title: "Talking DOGE cuts 🐶" href: https://x.com/CameronOtsuka/status/1892711833943081227 date: 2025-02-20 -modified: 2025-03-18 +modified: 2025-05-08 description: "Build Weekly Roundup - 2025 Week #8" tags: - livestream @@ -16,6 +16,4 @@ posse: Talking DOGE cuts 🐶 -> BUILD WEEKLY ROUNDUP - 2025 WEEK #8 https://x.com/i/broadcasts/1lPJqMNBddEJb -> -> — Matt Dines (@LeveredUSTs) [February 20, 2025](https://x.com/LeveredUSTs/status/1892699814770704435) +{% youtube "https://www.youtube.com/watch?v=-3IfnpazO4A", "BUILD WEEKLY ROUNDUP - 2025 WEEK #8" %} diff --git a/eleventy.config.js b/eleventy.config.js index a28b197..82f0305 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -165,6 +165,11 @@ export default async function (eleventyConfig) { eleventyConfig.addShortcode("currentYear", () => { return `${new Date().getFullYear()}`; }); + eleventyConfig.addShortcode("youtube", (videoURL, title) => { + const url = new URL(videoURL); + const videoID = url.searchParams.get("v"); + return ``; + }); eleventyConfig.setLibrary("md", mdLibrary); return { templateFormats: [