scottjohnson.pro/_includes/interests.html

23 lines
501 B
HTML
Raw Normal View History

2018-07-25 23:01:45 +01:00
{% assign interests = site.data.data.sidebar.interests %}
{% if interests %}
2016-07-29 10:17:42 +05:30
<div class="interests-container container-block">
2018-07-29 13:22:23 +01:00
<h2 class="container-block-title">
Interests
</h2>
2018-07-25 17:40:47 +01:00
<ul class="list-unstyled interests-list">
2018-07-25 23:01:45 +01:00
{% for interest in interests %}
2017-11-17 18:04:25 +00:00
{% if interest.link %}
2018-07-25 17:40:47 +01:00
<li><a href="{{ interest.link }}">{{ interest.item }}</a></li>
{% else %}
<li>{{ interest.item }}</li>
{% endif %}
2017-11-17 18:04:25 +00:00
2018-07-25 17:40:47 +01:00
{% endfor %}
</ul>
2016-07-29 10:17:42 +05:30
</div><!--//interests-->
{% endif %}