@@ -76,43 +76,37 @@ For any questions regarding sponsorship, please email sponsoring@aclweb.org. The
7676.sponsors-list > a :hover > img { box-shadow : none !important ; }
7777</style >
7878
79- {% assign diamond_sponsors = site.data.sponsors | where: "tier", "diamond" %}
80- {% if diamond_sponsors.size > 0 %}
79+ {% if page.sponsors.diamond %}
8180## Diamond
8281
8382{% include sponsors-list id="diamond" layout="third" %}
8483{% endif %}
8584
86- {% assign platinum_sponsors = site.data.sponsors | where: "tier", "platinum" %}
87- {% if platinum_sponsors.size > 0 %}
85+ {% if page.sponsors.platinum %}
8886## Platinum
8987
9088{% include sponsors-list id="platinum" layout="third" %}
9189{% endif %}
9290
93- {% assign gold_sponsors = site.data.sponsors | where: "tier", "gold" %}
94- {% if gold_sponsors.size > 0 %}
91+ {% if page.sponsors.gold %}
9592## Gold
9693
9794{% include sponsors-list id="gold" layout="third" %}
9895{% endif %}
9996
100- {% assign silver_sponsors = site.data.sponsors | where: "tier", "silver" %}
101- {% if silver_sponsors.size > 0 %}
97+ {% if page.sponsors.silver %}
10298## Silver
10399
104100{% include sponsors-list id="silver" layout="third" %}
105101{% endif %}
106102
107- {% assign bronze_sponsors = site.data.sponsors | where: "tier", "bronze" %}
108- {% if bronze_sponsors.size > 0 %}
103+ {% if page.sponsors.bronze %}
109104## Bronze
110105
111106{% include sponsors-list id="bronze" layout="third" %}
112107{% endif %}
113108
114- {% assign diversity_sponsors = site.data.sponsors | where: "tier", "diversity" %}
115- {% if diversity_sponsors.size > 0 %}
109+ {% if page.sponsors.diversity %}
116110## Diversity and Inclusion Ally
117111
118112{% include sponsors-list id="diversity" layout="third" %}
0 commit comments