Skip to content

Commit f24d282

Browse files
danbrinkleyDaniel Brinkleybigtiger
authored
Add OSS and RubyGems sponsor sections to Open Source page (#37)
Adds sponsor logo sections for: - Open Source Sustaining Membership Sponsors - RubyGems Supporters Plus Uses existing sponsor grid styles and Ghost page tags. <img width="720" height="487" alt="os_rubygems_sponsor_update" src="https://github.com/user-attachments/assets/c4373099-761e-415c-b12f-18becadf903e" /> --------- Co-authored-by: Daniel Brinkley <dbrinkley@Daniels-MacBook-Air.local> Co-authored-by: Jim Remsik <jremsikjr@gmail.com>
1 parent 2d386ef commit f24d282

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

custom-modern-open-source.hbs

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,35 @@
9191
{{/foreach}}
9292
{{/get}}
9393
</div>
94-
</div>
94+
<div class="container">
95+
<section class="sponsors">
96+
<p class="sponsors__title">Our Open Source Sponsors</p>
97+
<div class="sponsors__inner">
98+
{{#get "pages" order="featured desc, title asc" filter="tags:hash-oss-sponsors" limit="all"}}
99+
{{#foreach pages}}
100+
{{#if feature_image}}
101+
<img src="{{feature_image}}" alt="{{title}}" />
102+
{{/if}}
103+
{{/foreach}}
104+
{{/get}}
105+
</div>
106+
</section>
107+
</div>
108+
109+
<div class="container">
110+
<section class="sponsors">
111+
<p class="sponsors__title">RubyGems Supporters Plus</p>
112+
<div class="sponsors__inner">
113+
{{#get "pages" order="featured desc, title asc" filter="tags:hash-rubygems-sponsors" limit="all"}}
114+
{{#foreach pages}}
115+
{{#if feature_image}}
116+
<img src="{{feature_image}}" alt="{{title}}" />
117+
{{/if}}
118+
{{/foreach}}
119+
{{/get}}
120+
</div>
121+
</section>
122+
</div>
95123
{{/post}}
96124
{{#contentFor 'scripts'}}
97125
<script src="{{asset 'dist/post.js'}}" defer></script>

0 commit comments

Comments
 (0)