shortlinks / sorted socials / helpers / etc.

This commit is contained in:
monty 2019-12-10 21:47:05 +01:00
parent 4520e66c66
commit f6d011d763
6 changed files with 80 additions and 43 deletions

View file

@ -9,11 +9,18 @@
<div class="socials">
{{#each social}}
{{#ifeq name 'Mastodon'}}
<a rel="me" href="https://{{link}}" class="{{name}}">
<svg width="40" height="40" role="img" viewBox="0 0 24 24">
<title>{{name}} Icon</title>
<path d="{{icon.path}}"></path>
</svg></a>
{{/ifeq}}
<a href="https://{{link}}" class="{{name}}">
<svg width="40" height="40" role="img" viewBox="0 0 24 24">
<title>{{name}} Icon</title>
<path d="{{icon.path}}"></path>
</svg></a>
{{/each}}
</div>