datat.fi/_includes/contact-list.html

27 lines
828 B
HTML
Raw Normal View History

2017-03-07 23:12:17 +02:00
<ul class="contact-list">
{% if site.email %}
<li>
<a href="mailto:{{ site.email }}">
<span class="icon icon--email">{% include icon-email.svg %}</span>
<span class="label">Email</span>
</a>
</li>
{% endif %}
{% if site.github_username %}
<li>{% include icon-github.html username=site.github_username label='GitHub' %}</li>
{% endif %}
{% if site.twitter_username %}
<li>{% include icon-twitter.html username=site.twitter_username label='Twitter' %}</li>
{% endif %}
<li>
{% if site.gems contains 'jekyll-feed' %}
<a href="{{ site.feed.path | default: 'feed.xml' | relative_url }}" title="Atom Feed">
<span class="icon icon--rss">{% include icon-rss.svg %}</span>
<span class="label">Subscribe</span>
</a>
{% endif %}
</li>
</ul>