Skip to content

Commit a0e9a9b

Browse files
committed
Make banners on front page only
1 parent 4e15cd6 commit a0e9a9b

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/layouts/default.html.eco

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,14 @@ js: "/js/main.js"
6565
<div class="sponsor">
6666
<h4 class="sponsor__title">Sponsors:</h4>
6767

68-
<div class="sponsor__item">
69-
<a href="https://agency.uxplanet.org/" target="_blank"><img src="/i/sponsors/agency-uxplanet.png" alt="best UX agencies" width="135" height="35" /></a>
70-
</div>
71-
<div class="sponsor__item">
72-
<a href="https://topagency.webflow.io/" target="_blank"><img src="/i/sponsors/topagency-webflow.png" alt=" best web design agencies" width="135" height="35" /></a>
73-
</div>
68+
<% if @document.url == '/index.html': %>
69+
<div class="sponsor__item">
70+
<a href="https://agency.uxplanet.org/" target="_blank"><img src="/i/sponsors/agency-uxplanet.png" alt="best UX agencies" width="135" height="35" /></a>
71+
</div>
72+
<div class="sponsor__item">
73+
<a href="https://topagency.webflow.io/" target="_blank"><img src="/i/sponsors/topagency-webflow.png" alt=" best web design agencies" width="135" height="35" /></a>
74+
</div>
75+
<% end %>
7476

7577
<div class="sponsor__item">
7678
<a href="https://www.bairesdev.com/sponsoring-open-source-projects/" target="_blank"><img src="/i/sponsors/bairesdev.png" alt="We are the leading Nearshore Technology Solutions company. We architect and engineer scalable and high-performing software solutions." width="135" height="35" /></a>

0 commit comments

Comments
 (0)