Add icon to links

This commit is contained in:
kpcyrd 2014-09-09 18:05:17 +02:00
parent 7ef2868e75
commit 30fd862b63
2 changed files with 4 additions and 1 deletions

View file

@ -5,13 +5,16 @@
#
- title: Blogs
text: lorem ipsum
icon: rocket
url: http://wp.ffhh/
network: intern
- title: Radio
text: lorem ipsum
icon: rocket
url: http://radio.ffhh/
network: intern
- title: Wiki
text: lorem ipsum
icon: rocket
url: https://wiki.freifunk.net/Freifunk_Hamburg
network: public

View file

@ -6,7 +6,7 @@ layout: default
<ul class="posts row">
{% for service in site.data.services %}
<li class="col-6 col-sm-6 col-lg-4">
<h2><a href="{{ service.url }}">{{ service.title }}</a></h2>
<h2><span class="fa fa-{{ service.icon }}"></span> <a href="{{ service.url }}">{{ service.title }}</a></h2>
<p>{{ service.text }}</p>
</li>
{% endfor %}