|
1 | 1 | {% set social = config.extra.social_links -%}
|
2 | 2 |
|
3 | 3 | <ul class="social-links">
|
4 |
| - {% if social.dribbble %}<li><a href="https://dribbble.com/{{ social.dribbble | urlencode }}" title="{{ social.dribbble }}"><svg class="svg-icon grey"><use xlink:href="{{ get_url(path='minima-social-icons.svg#dribbble') }}"></use></svg></a></li>{% endif %} |
5 |
| - {% if social.facebook %}<li><a href="https://www.facebook.com/{{ social.facebook | urlencode }}" title="{{ social.facebook }}"><svg class="svg-icon grey"><use xlink:href="{{ get_url(path='minima-social-icons.svg#facebook') }}"></use></svg></a></li>{% endif %} |
6 |
| - {% if social.flickr %}<li><a href="https://www.flickr.com/photos/{{ social.flickr | urlencode }}" title="{{ social.flickr }}"><svg class="svg-icon grey"><use xlink:href="{{ get_url(path='minima-social-icons.svg#flickr') }}"></use></svg></a></li>{% endif %} |
7 |
| - {% if social.github %}<li><a href="https://github.com/{{ social.github | urlencode }}" title="{{ social.github }}"><svg class="svg-icon grey"><use xlink:href="{{ get_url(path='minima-social-icons.svg#github') }}"></use></svg> GitHub (rust-gamedev)</a></li>{% endif %} |
8 |
| - {% if social.instagram %}<li><a href="https://www.instagram.com/{{ social.instagram | urlencode }}" title="{{ social.instagram }}"><svg class="svg-icon grey"><use xlink:href="{{ get_url(path='minima-social-icons.svg#instagram') }}"></use></svg></a></li>{% endif %} |
9 |
| - {% if social.linkedin %}<li><a href="https://www.linkedin.com/in/{{ social.linkedin | urlencode }}" title="{{ social.linkedin }}"><svg class="svg-icon grey"><use xlink:href="{{ get_url(path='minima-social-icons.svg#linkedin') }}"></use></svg></a></li>{% endif %} |
10 |
| - {% if social.pinterest %}<li><a href="https://www.pinterest.com/{{ social.pinterest | urlencode }}" title="{{ social.pinterest }}"><svg class="svg-icon grey"><use xlink:href="{{ get_url(path='minima-social-icons.svg#pinterest') }}"></use></svg></a></li>{% endif %} |
11 |
| - {% if social.mastodon %}{% for mst in social.mastodon %}{% if mst.username and mst.instance %}<li><a rel="me" href="https://{{ mst.instance | urlencode}}/@{{ mst.username | urlencode }}" title="{{ mst.username }}"><svg class="svg-icon grey"><use xlink:href="{{ get_url(path='minima-social-icons.svg#mastodon') }}"></use></svg></a></li>{% endif %}{% endfor %}{% endif %} |
12 |
| - {% if social.twitter %}<li><a href="https://twitter.com/{{ social.twitter | urlencode }}" title="{{ social.twitter }}"><svg class="svg-icon grey"><use xlink:href="{{ get_url(path='minima-social-icons.svg#twitter') }}"></use></svg> Twitter (rust_gamedev)</a></li>{% endif %} |
13 |
| - {% if social.youtube %}<li><a href="https://www.youtube.com/{{ social.youtube | urlencode }}" title="{{ social.youtube }}"><svg class="svg-icon grey"><use xlink:href="{{ get_url(path='minima-social-icons.svg#youtube') }}"></use></svg></a></li>{% endif %} |
14 |
| - {% if social.youtube_chanel -%}<li><a href="https://www.youtube.com/channel/{{ social.youtube_channel | urlencode }}" title="{{ social.youtube_channel_name | urlencode | default(value='YouTube') }}"><svg class="svg-icon grey"><use xlink:href="{{ get_url(path='minima-social-icons.svg#youtube') }}"></use></svg></a></li>{% endif %} |
15 |
| - {% if social.telegram %}<li><a href="https://t.me/{{ social.telegram | urlencode }}" title="{{ social.telegram }}"><svg class="svg-icon grey"><use xlink:href="{{ get_url(path='minima-social-icons.svg#telegram') }}"></use></svg></a></li>{% endif %} |
16 |
| - {% if social.microdotblog %}<li><a rel="me" href="https://micro.blog/{{ social.microdotblog | urlencode }}" title="{{ social.microdotblog }}"><svg class="svg-icon grey"><use xlink:href="{{ get_url(path='minima-social-icons.svg#microdotblog') }}"></use></svg></a></li>{% endif %} |
17 |
| - {% if social.discord %}<li><a href="https://discord.gg/{{ social.discord | urlencode }}" title="Discord"><svg class="svg-icon grey"><use xlink:href="{{ get_url(path='minima-social-icons.svg#discord') }}"></use></svg> Discord (#wg-gamedev)</a></li>{% endif %} |
18 |
| - {% if social.rss %}<li><a href="{{ get_url(path='rss.xml') }}" title="{{ social.rss }}"><svg class="svg-icon grey"><use xlink:href="{{ get_url(path='minima-social-icons.svg#rss') }}"></use></svg> RSS feed</a></li>{% endif %} |
| 4 | + {% if social.github %}<li><a href="https://github.com/{{ social.github | urlencode }}" title="{{ social.github }}"><svg class="svg-icon"><use xlink:href="{{ get_url(path='social/github.svg#icon') }}"></use></svg> GitHub (rust-gamedev)</a></li>{% endif %} |
| 5 | + {% if social.twitter %}<li><a href="https://twitter.com/{{ social.twitter | urlencode }}" title="{{ social.twitter }}"><svg class="svg-icon"><use xlink:href="{{ get_url(path='social/twitter.svg#icon') }}"></use></svg> Twitter (rust_gamedev)</a></li>{% endif %} |
| 6 | + {% if social.discord %}<li><a href="https://discord.gg/{{ social.discord | urlencode }}" title="Discord"><svg class="svg-icon"><use xlink:href="{{ get_url(path='social/discord.svg#icon') }}"></use></svg> Discord (#wg-gamedev)</a></li>{% endif %} |
| 7 | + {% if social.rss %}<li><a href="{{ get_url(path='rss.xml') }}" title="{{ social.rss }}"><svg class="svg-icon"><use xlink:href="{{ get_url(path='social/rss.svg#icon') }}"></use></svg> RSS feed</a></li>{% endif %} |
19 | 8 | </ul>
|
0 commit comments