Permalink
Browse files

Rename sponsor image

  • Loading branch information...
1 parent c6ed7b4 commit 08d7bf4c16cf8b77235f6962a063fbe59de20b21 @lsegal lsegal committed Aug 8, 2017
View
@@ -148,7 +148,7 @@
<div class="sponsor">
<p>Sponsored by</p>
<% [settings.sponsor].flatten.each do |sponsor| %>
- <a href="http://<%= sponsor %>"><img src="/images/sponsor/<%= sponsor %>.png" alt="Sponsored by <%= h sponsor %>"/></a>
+ <a href="http://<%= sponsor %>"><img src="/images/sponsor/<%= sponsor %>.png" alt="Sponsored by <%= h sponsor.split('/').first %>"/></a>
<% end %>
</div>
<% end %>

0 comments on commit 08d7bf4

Please sign in to comment.