From bcc1874337e640572dddac922a16e9a215addc18 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 28 Feb 2024 09:05:00 +0000 Subject: [PATCH] Consolidate prose classes --- app/config/sculpin_site.yml | 3 +++ source/_includes/about-me.html.twig | 2 +- source/_includes/banner.html.twig | 2 +- source/_includes/button.html.twig | 4 ++-- source/_includes/daily-email-form.html.twig | 10 +++------- source/_includes/message.html.twig | 4 ++-- source/_includes/testimonials.html.twig | 20 ++++++++------------ source/_layouts/default.html.twig | 2 +- source/_pages/index.md | 2 +- 9 files changed, 22 insertions(+), 27 deletions(-) diff --git a/app/config/sculpin_site.yml b/app/config/sculpin_site.yml index 8886717e..9c7f43bd 100644 --- a/app/config/sculpin_site.yml +++ b/app/config/sculpin_site.yml @@ -299,6 +299,9 @@ testimonials: title: Digital Strategy Consultant tags: [subscription] +prose_classes: | + prose marker:text-black prose-a:font-light prose-a:text-blue-primary prose-blockquote:border-blue-primary prose-code:after:content-[''] prose-code:before:content-[''] prose-code:font-normal prose-figcaption:text-white prose-h2:mb-4 prose-h2:text-xl prose-li:my-1 prose-li:text-black prose-li:text-lg prose-p:text-black prose-p:text-lg prose-ul:my-3 hover:prose-a:no-underline dark:marker:text-white dark:prose-a:text-blue-400 dark:prose-blockquote:border-blue-400 dark:prose-hr:border-grey-400 dark:prose-invert dark:prose-li:text-white dark:prose-p:text-white + transistor: feed: url: https://feeds.transistor.fm/beyond-blocks diff --git a/source/_includes/about-me.html.twig b/source/_includes/about-me.html.twig index a664454c..64148675 100644 --- a/source/_includes/about-me.html.twig +++ b/source/_includes/about-me.html.twig @@ -9,7 +9,7 @@ Picture of Oliver -
+

I'm an Acquia-certified Drupal Triple Expert with {{ macros.yearsExperience }} years of experience, an open-source software maintainer and Drupal core contributor, public speaker, live streamer, and host of the Beyond Blocks podcast.

diff --git a/source/_includes/banner.html.twig b/source/_includes/banner.html.twig index 8f5f7f47..f3a741b4 100644 --- a/source/_includes/banner.html.twig +++ b/source/_includes/banner.html.twig @@ -1,7 +1,7 @@ {% if site.banner_text %}
-
+
{{ site.banner_text|markdown }}
diff --git a/source/_includes/button.html.twig b/source/_includes/button.html.twig index 765af802..1469860a 100644 --- a/source/_includes/button.html.twig +++ b/source/_includes/button.html.twig @@ -1,5 +1,5 @@ -
- + diff --git a/source/_includes/daily-email-form.html.twig b/source/_includes/daily-email-form.html.twig index 0dfd854c..3b4a58b0 100644 --- a/source/_includes/daily-email-form.html.twig +++ b/source/_includes/daily-email-form.html.twig @@ -119,13 +119,9 @@