From 379f4ae2931284b0e1ccf4192692483ba351d435 Mon Sep 17 00:00:00 2001 From: Daniel Brinkley Date: Tue, 3 Feb 2026 05:34:22 -0500 Subject: [PATCH] Add external links to sponsor logos and remove default link styling --- custom-modern-open-source.hbs | 42 ++++++++++++++++++++++++--------- src/css/components/sponsors.css | 7 +++++- 2 files changed, 37 insertions(+), 12 deletions(-) diff --git a/custom-modern-open-source.hbs b/custom-modern-open-source.hbs index 662d6bb..f017648 100644 --- a/custom-modern-open-source.hbs +++ b/custom-modern-open-source.hbs @@ -93,27 +93,47 @@
-

Our Open Source Sponsors

-
- {{#get "pages" order="featured desc, title asc" filter="tags:hash-oss-sponsors" limit="all"}} - {{#foreach pages}} - {{#if feature_image}} +

Our Open Source Sponsors

+
+ {{#get "pages" + order="featured desc, title asc" + filter="tags:hash-oss-sponsors" + limit="all" + fields="title,feature_image,custom_excerpt"}} + {{#foreach pages}} + {{#if feature_image}} + {{#if custom_excerpt}} + + {{title}} + + {{else}} {{title}} {{/if}} - {{/foreach}} - {{/get}} -
-
+ {{/if}} + {{/foreach}} + {{/get}} +
+

RubyGems Supporters Plus

- {{#get "pages" order="featured desc, title asc" filter="tags:hash-rubygems-sponsors" limit="all"}} + {{#get "pages" + order="featured desc, title asc" + filter="tags:hash-rubygems-sponsors" + limit="all" + fields="title,feature_image,custom_excerpt"}} {{#foreach pages}} {{#if feature_image}} - {{title}} + {{#if custom_excerpt}} + + {{title}} + + {{else}} + {{title}} + {{/if}} {{/if}} {{/foreach}} {{/get}} diff --git a/src/css/components/sponsors.css b/src/css/components/sponsors.css index a097077..a59bc9d 100644 --- a/src/css/components/sponsors.css +++ b/src/css/components/sponsors.css @@ -21,7 +21,12 @@ column-gap: 60px; row-gap: 20px; padding: 60px 20px; - + a { + text-decoration: none; + border-bottom: 0; + background-image: none; + box-shadow: none; + } img { height: 60px; max-width: 100%;