Skip to content

Commit 8c6bcd0

Browse files
committed
Opensource tag on everything
1 parent e5b7ce3 commit 8c6bcd0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/site/_includes/components/cards.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{%- elseif loopIndex % 4 === 2 %} bg-gradient-card-seafoam
88
{%- elseif loopIndex % 4 === 3 %} bg-gradient-card-gold
99
{%- endif -%}">
10-
{%- if item.data.opensource -%}
10+
{%- if item.data.opensource === "Yes" or item.data.opensource === "YES" or item.data.opensource === "yes" -%}
1111
<div class="text-xxs mb-2">
1212
<span class="inline-block uppercase bg-black text-white leading-5 px-2 rounded">Open Source</span>
1313
</div>

src/site/_includes/layouts/tool.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ layout: layouts/base.njk
5454
{%- endif %}
5555
</dl>
5656
<dl class="inline-block mb-4">
57-
{%- if opensource %}
57+
{%- if opensource === "Yes" or opensource === "YES" or opensource === "yes" %}
5858
<dt class="inline-block font-bold mr-6">Open Source</dt>
5959
<dd class="inline-block sr-only">Yes</dd>
6060
{%- endif %}

0 commit comments

Comments
 (0)