New, more versatile link format
This commit is contained in:
parent
77c5525dff
commit
7487a763b1
2 changed files with 22 additions and 22 deletions
|
@ -36,24 +36,20 @@ narrow_page: true
|
|||
</div>
|
||||
</div>
|
||||
<div class="columns links">
|
||||
<% if member[:github] %>
|
||||
<a style="padding: 5px" class="social-icon" href="https://github.com/<%= member[:github] %>" target="_blank">
|
||||
<% member[:links].each do |link| %>
|
||||
<% if link[:icon] %>
|
||||
<a style="padding: 5px" class="social-icon" href="<%= link[:url] %>" target="_blank">
|
||||
<span class="icon">
|
||||
<%= fa :github, {:size => "2x"} %>
|
||||
<%= fa link[:icon], {:size => "2x"} %>
|
||||
</span>
|
||||
</a>
|
||||
<% else %>
|
||||
<a style="padding: 5px" class="social-icon" href="<%= link[:url] %>" target="_blank">
|
||||
<span class="icon">
|
||||
<%= fa :globe, {:size => "2x"} %>
|
||||
</span>
|
||||
</a>
|
||||
<% end %>
|
||||
<% if member[:twitter] %>
|
||||
<a style="padding: 5px" class="social-icon" href="https://twitter.com/<%= member[:twitter] %>" target="_blank">
|
||||
<span class="icon">
|
||||
<%= fa :twitter, {:size => "2x"} %>
|
||||
</span>
|
||||
</a>
|
||||
<% end %>
|
||||
<% if member[:blog] %>
|
||||
<a style="padding: 5px" href="<%= member[:blog] %>">
|
||||
<%= member[:blog] %>
|
||||
</a>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -5,11 +5,15 @@ data:
|
|||
nickname: FlashYoshi
|
||||
photo: https://zeus.ugent.be/zeuswpi/0U6neVQP.jpg
|
||||
quote: Ansible is af!
|
||||
description: >
|
||||
description: |
|
||||
Puns, weeb, Sigasi, klimt, taart.
|
||||
Houdt écht van Java.
|
||||
Gebruikt tabs én spaces.
|
||||
twitter: tivervack
|
||||
github: tivervac
|
||||
gitlab: FlashYoshi
|
||||
links:
|
||||
- icon: twitter
|
||||
url: https://twitter.com/tivervac
|
||||
- icon: github
|
||||
url: https://github.com/tivervac
|
||||
- icon: gitlab
|
||||
url: https://gitlab.com/FlashYoshi
|
||||
|
||||
|
|
Loading…
Reference in a new issue