datat.fi/_includes/contact-list.html

28 lines
958 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">{{ site.data.theme.t.email | default: 'Email' }}</span>
2017-03-07 23:12:17 +02:00
</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.plugins contains 'jekyll-feed' or site.gems contains 'jekyll-feed' %}
2017-03-07 23:12:17 +02:00
<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">{{ site.data.theme.t.subscribe | default: 'Subscribe' }}</span>
2017-03-07 23:12:17 +02:00
</a>
{% endif %}
</li>
</ul>