forked from robert/robertjohnson.work
add url variable to interests
This commit is contained in:
parent
65f490db0b
commit
7ad140aa21
@ -1,6 +1,9 @@
|
||||
- interest:
|
||||
item: Climbing
|
||||
link:
|
||||
- interest:
|
||||
item: Snowboarding
|
||||
link:
|
||||
- interest:
|
||||
item: Cooking
|
||||
link:
|
||||
|
@ -5,7 +5,13 @@
|
||||
|
||||
<ul class="list-unstyled interests-list">
|
||||
{% for interest in site.data.interests %}
|
||||
|
||||
{% if interest.link %}
|
||||
<li><a href="{{ interest.link }}">{{ interest.item }}</a></li>
|
||||
{% else %}
|
||||
<li>{{ interest.item }}</li>
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user