From a915341e5c1e0d2903afc214cb2faff86940ef6e Mon Sep 17 00:00:00 2001 From: Nathan Upchurch Date: Sun, 2 Feb 2025 17:40:57 -0600 Subject: [PATCH] Big update: add quiz function, new post --- _data/blogroll.js | 13 +- _data/metadata.js | 2 +- _includes/layouts/base.njk | 7 +- _includes/layouts/base_full_width_text.njk | 21 - _includes/layouts/links.njk | 3 +- .../{baseBareBones.njk => linksPage.njk} | 8 +- _includes/layouts/post.njk | 2 - _includes/layouts/quizzes.njk | 53 + _includes/metadata.njk | 1 + _includes/structuredData.njk | 11 - content/about/colophon/index.md | 2 +- content/about/privacy/index.md | 2 +- content/ai.md | 2 +- content/blog/rammstein-incense-cones.md | 28 + content/changelog.md | 13 +- content/galleryImage.njk | 5 +- content/index.njk | 122 +- content/quizzes.njk | 14 + .../how-much-of-a-linux-nerd-are-you.md | 302 ++++ content/quizzes/quizzes.11tydata.js | 4 + content/sitemap/index.njk | 3 +- content/wish.md | 2 +- eleventy.config.js | 3 +- public/css/index.css | 107 +- public/img/Tux.svg | 1591 +++++++++++++++++ public/img/linus.gif | Bin 0 -> 1627964 bytes public/img/lost.gif | Bin 0 -> 2053959 bytes .../img/lukasz-rawa-NL02eAwtkmM-unsplash.webp | Bin 0 -> 122914 bytes public/img/matrix.gif | Bin 0 -> 1531483 bytes public/img/noob.gif | Bin 0 -> 778031 bytes public/img/rammsteinShow_copy.webp | Bin 0 -> 36472 bytes public/img/rammstein_incense_cones.webp | Bin 0 -> 415416 bytes public/img/tendies.gif | Bin 0 -> 2711233 bytes public/img/tuxfall.gif | Bin 0 -> 749821 bytes public/js/quiz.js | 43 + 35 files changed, 2249 insertions(+), 115 deletions(-) delete mode 100644 _includes/layouts/base_full_width_text.njk rename _includes/layouts/{baseBareBones.njk => linksPage.njk} (56%) create mode 100644 _includes/layouts/quizzes.njk create mode 100644 content/blog/rammstein-incense-cones.md create mode 100644 content/quizzes.njk create mode 100644 content/quizzes/how-much-of-a-linux-nerd-are-you.md create mode 100644 content/quizzes/quizzes.11tydata.js create mode 100644 public/img/Tux.svg create mode 100644 public/img/linus.gif create mode 100644 public/img/lost.gif create mode 100644 public/img/lukasz-rawa-NL02eAwtkmM-unsplash.webp create mode 100644 public/img/matrix.gif create mode 100644 public/img/noob.gif create mode 100644 public/img/rammsteinShow_copy.webp create mode 100644 public/img/rammstein_incense_cones.webp create mode 100644 public/img/tendies.gif create mode 100644 public/img/tuxfall.gif create mode 100644 public/js/quiz.js diff --git a/_data/blogroll.js b/_data/blogroll.js index 616e38b..cb71f2d 100644 --- a/_data/blogroll.js +++ b/_data/blogroll.js @@ -311,10 +311,17 @@ export default { }, { title: "Reveal from the Center for Investigative Reporting", - feedUrl: "https://revealnews.org/feed", - url: "https://revealnews.org/", + feedUrl: "https://contrarian.substack.com/feed", + url: "https://contrarian.substack.com/", description: - 'Reveal is an investigative radio show and podcast that holds the powerful accountable by reporting about everything from racial and social injustices to threats to public safety and democracy. (Thanks to werd.io for the recommendation.)', + "Democracy faces an unprecedented threat from an authoritarian movement built on lies and contempt for the rule of law. The first and most critical defense of democracy—a robust, independent free press—has been missing in action. Corporate and billionaire media owners have shied away from confrontation, engaged in false equivalence, and sought to curry favor with Donald Trump. It is hardly surprising that readers and viewers are fleeing from these outlets. Americans need an alternative. The Contrarian is that alternative: unflinching, unapologetic, and unwavering in its commitment to truth-telling.", + }, + { + title: "The Contrarian", + feedUrl: "https://themarkup.org/feeds/rss.xml", + url: "https://contrarian.substack.com/", + description: + 'The Markup investigates how powerful institutions are using technology to change our society. (Thanks to werd.io for the recommendation.)', }, { title: "The Markup", diff --git a/_data/metadata.js b/_data/metadata.js index c302077..c0f4ff9 100644 --- a/_data/metadata.js +++ b/_data/metadata.js @@ -14,7 +14,7 @@ export default { profilePic: "/img/CN20191025_301_Srt_SQUARE_crop.jpg", }, blogrollUrl: "/blogroll/nathanUpchurchBlogroll.opml", - copyrightNotice: "© Nathan Upchurch 2022 - 2024", + copyrightNotice: "© Nathan Upchurch 2022 - 2025", defaultPostImageURL: "/img/logo_post.svg", defaultPostImageAlt: "The logo for this blog: a capital letter N.", mastodonHost: "lounge.town", diff --git a/_includes/layouts/base.njk b/_includes/layouts/base.njk index 7f6bb44..8cea4cc 100644 --- a/_includes/layouts/base.njk +++ b/_includes/layouts/base.njk @@ -2,10 +2,9 @@ {% include "metadata.njk" %} - {#- Bundle CSS #} - {%- css %}{% include "public/css/index.css" %}{% endcss %} - {%- css %}{% include "public/css/webfonts/webfonts.css" %}{% endcss %} - + + + {% include "structuredData.njk" %} {% include "umami.html" %} diff --git a/_includes/layouts/base_full_width_text.njk b/_includes/layouts/base_full_width_text.njk deleted file mode 100644 index 4121ba7..0000000 --- a/_includes/layouts/base_full_width_text.njk +++ /dev/null @@ -1,21 +0,0 @@ - - - - {% include "metadata.njk" %} - {#- Bundle CSS #} - {%- css %}{% include "public/css/index.css" %}{% endcss %} - {%- css %}{% include "public/css/webfonts/webfonts.css" %}{% endcss %} - - {% include "structuredData.njk" %} - {% include "umami.html" %} - - - {% include "header.njk" %} -
-
- {{ content | safe }} -
-
- {% include "footer.njk" %} - - diff --git a/_includes/layouts/links.njk b/_includes/layouts/links.njk index d020901..26f2312 100644 --- a/_includes/layouts/links.njk +++ b/_includes/layouts/links.njk @@ -1,7 +1,6 @@ --- -layout: layouts/baseBareBones.njk +layout: layouts/linksPage.njk --- -{%- css %}{% include "public/css/me.css" %}{% endcss %}