New, more versatile link format

This commit is contained in:
Robbe Van Herck 2019-12-01 10:24:07 +01:00
parent 77c5525dff
commit 7487a763b1
No known key found for this signature in database
GPG key ID: A66F76F7B81BD784
2 changed files with 22 additions and 22 deletions

View file

@ -36,24 +36,20 @@ narrow_page: true
</div> </div>
</div> </div>
<div class="columns links"> <div class="columns links">
<% if member[:github] %> <% member[:links].each do |link| %>
<a style="padding: 5px" class="social-icon" href="https://github.com/<%= member[:github] %>" target="_blank"> <% if link[:icon] %>
<span class="icon"> <a style="padding: 5px" class="social-icon" href="<%= link[:url] %>" target="_blank">
<%= fa :github, {:size => "2x"} %> <span class="icon">
</span> <%= fa link[:icon], {:size => "2x"} %>
</a> </span>
<% end %> </a>
<% if member[:twitter] %> <% else %>
<a style="padding: 5px" class="social-icon" href="https://twitter.com/<%= member[:twitter] %>" target="_blank"> <a style="padding: 5px" class="social-icon" href="<%= link[:url] %>" target="_blank">
<span class="icon"> <span class="icon">
<%= fa :twitter, {:size => "2x"} %> <%= fa :globe, {:size => "2x"} %>
</span> </span>
</a> </a>
<% end %> <% end %>
<% if member[:blog] %>
<a style="padding: 5px" href="<%= member[:blog] %>">
<%= member[:blog] %>
</a>
<% end %> <% end %>
</div> </div>
</div> </div>

View file

@ -5,11 +5,15 @@ data:
nickname: FlashYoshi nickname: FlashYoshi
photo: https://zeus.ugent.be/zeuswpi/0U6neVQP.jpg photo: https://zeus.ugent.be/zeuswpi/0U6neVQP.jpg
quote: Ansible is af! quote: Ansible is af!
description: > description: |
Puns, weeb, Sigasi, klimt, taart. Puns, weeb, Sigasi, klimt, taart.
Houdt écht van Java. Houdt écht van Java.
Gebruikt tabs én spaces. Gebruikt tabs én spaces.
twitter: tivervack links:
github: tivervac - icon: twitter
gitlab: FlashYoshi url: https://twitter.com/tivervac
- icon: github
url: https://github.com/tivervac
- icon: gitlab
url: https://gitlab.com/FlashYoshi