aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorGravatar Barry Clark <barry@barryclark.co> 2014-06-13 08:59:59 -0400
committerGravatar Barry Clark <barry@barryclark.co> 2014-06-13 08:59:59 -0400
commitfda8d43c932385f5b21d66342f5c1e8ef7def321 (patch)
treea5971057db905c118692e7520a77b752f7ca0747 /_includes
parent516a87071e795ef93c7ea22b01de310ddf8aeb82 (diff)
downloadkompetenzbolzen.github.io-fda8d43c932385f5b21d66342f5c1e8ef7def321.tar.gz
Moved SVG icon markup to an include
Diffstat (limited to '_includes')
-rw-r--r--_includes/svg-icons.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/_includes/svg-icons.html b/_includes/svg-icons.html
new file mode 100644
index 0000000..cb6735d
--- /dev/null
+++ b/_includes/svg-icons.html
@@ -0,0 +1,10 @@
+ {% if site.footer-links.dribbble %}<a href="http://dribbble.com/{{ site.footer-links.dribbble }}">{% include svg-icons/dribbble.html %}</a>{% endif %}
+ {% if site.footer-links.email %}<a href="mailto: {{ site.footer-links.email }}">{% include svg-icons/email.html %}</a>{% endif %}
+ {% if site.footer-links.facebook %}<a href="http://facebook.com/{{ site.footer-links.facebook }}">{% include svg-icons/facebook.html %}</a>{% endif %}
+ {% if site.footer-links.flickr %}<a href="http://flickr.com/{{ site.footer-links.flickr }}">{% include svg-icons/flickr.html %}</a>{% endif %}
+ {% if site.footer-links.github %}<a href="http://github.com/{{ site.footer-links.github }}">{% include svg-icons/github.html %}</a>{% endif %}
+ {% if site.footer-links.instagram %}<a href="http://instagram.com/{{ site.footer-links.instagram }}">{% include svg-icons/instagram.html %}</a>{% endif %}
+ {% if site.footer-links.linkedin %}<a href="http://linkedin.com/in/{{ site.footer-links.linkedin }}">{% include svg-icons/linkedin.html %}</a>{% endif %}
+ {% if site.footer-links.pinterest %}<a href="http://pinterest.com/{{ site.footer-links.pinterest }}">{% include svg-icons/pinterest.html %}</a>{% endif %}
+ {% if site.footer-links.rss %}<a href="{{ site.baseurl }}/feed.xml">{% include svg-icons/rss.html %}</a>{% endif %}
+ {% if site.footer-links.twitter %}<a href="http://twitter.com/{{ site.footer-links.twitter }}">{% include svg-icons/twitter.html %}</a>{% endif %} \ No newline at end of file