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 - title: Blogs
text: lorem ipsum text: lorem ipsum
icon: rocket
url: http://wp.ffhh/ url: http://wp.ffhh/
network: intern network: intern
- title: Radio - title: Radio
text: lorem ipsum text: lorem ipsum
icon: rocket
url: http://radio.ffhh/ url: http://radio.ffhh/
network: intern network: intern
- title: Wiki - title: Wiki
text: lorem ipsum text: lorem ipsum
icon: rocket
url: https://wiki.freifunk.net/Freifunk_Hamburg url: https://wiki.freifunk.net/Freifunk_Hamburg
network: public network: public

View file

@ -6,7 +6,7 @@ layout: default
<ul class="posts row"> <ul class="posts row">
{% for service in site.data.services %} {% for service in site.data.services %}
<li class="col-6 col-sm-6 col-lg-4"> <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> <p>{{ service.text }}</p>
</li> </li>
{% endfor %} {% endfor %}