From 41f3504fec365e9589c1401739d4137c56e06505 Mon Sep 17 00:00:00 2001 From: jonathan Date: Tue, 17 Oct 2023 16:45:02 +1030 Subject: [PATCH] juggle listentry shortcode --- .eleventy.js | 4 +-- src/_includes/styles.css | 4 +++ src/infinite_nightmare.md | 9 ++++--- src/lists/youtubers.md | 56 ++++++++++++++++++++++++++------------- 4 files changed, 49 insertions(+), 24 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index ffe1a8b..06d4888 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -23,7 +23,7 @@ module.exports = function (eleventyConfig) { ` }); - eleventyConfig.addShortcode("infinitenightmare", function (title, link, image, video, iframelink, description) { + eleventyConfig.addShortcode("listentry", function (title, link, image, video, iframelink, description) { if (!title || title == "") { return ''; }; @@ -63,7 +63,7 @@ module.exports = function (eleventyConfig) { if (iframelink) { console.log(iframelink) iframeString = ` -
`; +
`; } return `

diff --git a/src/_includes/styles.css b/src/_includes/styles.css index 60ea1ec..2f3f1b3 100644 --- a/src/_includes/styles.css +++ b/src/_includes/styles.css @@ -388,6 +388,10 @@ footer { margin-top: 32px; } +/* .list-formatting h3:first-of-type { + margin-top: 8px; +} */ + .list-formatting img, .list-formatting video, .list-formatting iframe { diff --git a/src/infinite_nightmare.md b/src/infinite_nightmare.md index 07db704..d1b385f 100644 --- a/src/infinite_nightmare.md +++ b/src/infinite_nightmare.md @@ -6,15 +6,18 @@ pagination: size: 1000 alias: postslist --- -

### 🔞 warning! some of this stuff will be nsfw or include art that is nsfw 🔞 thats just art baby! people are naked a _lot_ as it turns out welcome to the infinite nightmare list aka a big dumpster for me to put art related stuff that i want to revisit at some point. each section should have a reason that i want to revisit a link. also, i will probably just take images directly from the source so if shit is broken then that would be why -{% for post in postslist %} - {% infinitenightmare +--- + +
+ +{% for post in infinite_nightmare %} + {% listentry post.title, post.link, post.image, diff --git a/src/lists/youtubers.md b/src/lists/youtubers.md index bded14e..b0c3711 100644 --- a/src/lists/youtubers.md +++ b/src/lists/youtubers.md @@ -5,34 +5,52 @@ date: 2023-10-17
-{% infinitenightmare +{% listentry "dalub", [{ - "title": "www.youtube.com/@StellariteDalub", + "title": "youtube.com/@StellariteDalub", "link": "https://www.youtube.com/@StellariteDalub" }], null, null, "https://www.youtube-nocookie.com/embed/NbTLpZLmfI4", "this is an extremely indulgent move but dalub provides the most wonderfully genuine splatoon montages with just a bunch of people messing about; everything else on youtube is trying to put out regular weekly content instead of just having fun" -%} +-%} -### hhhazel -[youtube.com/@hhhazel](https://www.youtube.com/@hhhazel) - +{% listentry + "hhhazel", + [{ + "title": "youtube.com/@hhhazel", + "link": "https://www.youtube.com/@hhhazel" + }], + null, + null, + "https://www.youtube-nocookie.com/embed/yNidRSwwKSg", + "hhhazel is an anime video creator who goes to stupid lengths to communicate her feelings in a way that allows you to really empathise with her, as well as understand some of the (more) objective qualities about a show or series that set it apart from the rest. i always feel like i'm getting better at art criticism and analysis whenever i listen to her" +-%} -hhhazel is an anime video creator who goes to stupid lengths to communicate her feelings in a way that allows you to really empathise with her, as well as understand some of the (more) objective qualities about a show or series that set it apart from the rest. i always feel like i'm getting better at art criticism and analysis whenever i listen to her +{% listentry + "whitestone jazz", + [{ + "title": "youtube.com/@whitestonejazz", + "link": "https://www.youtube.com/@whitestonejazz" + }], + null, + null, + "https://www.youtube-nocookie.com/embed/aWzrjQ2rc3U", + "whitestone jazz is a mathematician who splits time between describing mathematical concepts in minecraft and breaking down the maths / logic of cool minecraft systems for the layperson. it's still pretty in-depth stuff, but i think he does a good job of simplifying it" +-%} -### whitestone jazz -[youtube.com/@whitestonejazz](https://www.youtube.com/@whitestonejazz) - +{% listentry + "jenny nicholson", + [{ + "title": "youtube.com/@JennyNicholson", + "link": "https://www.youtube.com/@JennyNicholson" + }], + null, + null, + "https://www.youtube-nocookie.com/embed/p4AdFD3E2ok", + "jenny nicholson fits squarely in the camp of people who are delightful to listen to because they're simply extremely passionate. her videos span a bunch of different topics but there is a lot of movie and tv stuff, with some absolute out-there left-field type topics in between" +-%} -whitestone jazz is a mathematician who splits time between describing mathematical concepts in minecraft and breaking down the maths / logic of cool minecraft systems for the layperson. it's still pretty in-depth stuff, but i think he does a good job of simplifying it - -### jenny nicholson -[youtube.com/@JennyNicholson](https://www.youtube.com/@JennyNicholson) - - -jenny nicholson fits squarely in the camp of people who are delightful to listen to because they're simply extremely passionate. her videos span a bunch of different topics but there is a lot of movie and tv stuff, with some absolute out-there left-field type topics in between - -
\ No newline at end of file +

\ No newline at end of file