File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed
Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 44 "url" : " https://www.lambdatest.com/?utm_source=servo&utm_medium=sponsor" ,
55 "img" : " /img/logos/lambdatest.png" ,
66 "type" : " bronze"
7+ },
8+ {
9+ "name" : " Sandwich" ,
10+ "url" : " https://sandwich.net/servo" ,
11+ "img" : " /img/logos/sandwich.png" ,
12+ "type" : " bronze"
713 }
814]
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ <h3 class="center-text">Platinum Sponsors</h3>
4040 {% endif %}
4141
4242
43-
43+
4444 {% if gold_sponsors.size > 0 %}
4545 < div class ="inner-container__logos ">
4646 < h3 class ="center-text "> Gold Sponsors</ h3 >
@@ -57,7 +57,7 @@ <h3 class="center-text">Gold Sponsors</h3>
5757 {% endif %}
5858
5959
60-
60+
6161 {% if silver_sponsors.size > 0 %}
6262 < div class ="inner-container__logos ">
6363 < h3 class ="center-text "> Silver Sponsors</ h3 >
@@ -75,14 +75,14 @@ <h3 class="center-text">Silver Sponsors</h3>
7575 {% endif %}
7676
7777
78-
7978 {% if bronze_sponsors.size > 0 %}
8079 < div class ="inner-container__logos ">
8180 < h3 class ="center-text "> Bronze Sponsors</ h3 >
8281
8382 < ul class ="logos-home ">
8483 {% for sponsor in bronze_sponsors %}
85- < li class =" {% if loop.index == loop.length and loop.length is odd %}odd-last{% endif %} ">
84+ {% assign mod = forloop.index | modulo: 2 %}
85+ < li class ="{% if forloop.last and mod != 0 %}odd-last{% endif %} ">
8686 < a href ="{{ sponsor.url }} ">
8787 < img src ="{{ sponsor.img | url}} " alt ="{{ sponsor.name }} logo " class ="sponsor-img sponsor-{{ sponsor.type }} " />
8888 </ a >
You can’t perform that action at this time.
0 commit comments