Commit 5e00011a authored by Thomas Vincent's avatar Thomas Vincent

Fix condition to display resources links

parent bbe4d0c6
...@@ -23,7 +23,7 @@ Find out how to contribute on our [Contribute]({{ "/contribute/" | prepend: site ...@@ -23,7 +23,7 @@ Find out how to contribute on our [Contribute]({{ "/contribute/" | prepend: site
{% if x.video.url %}<a href="{{ x.video.url }}" class="btn btn-sm btn-outline-primary">Video</a>{% endif %} {% if x.video.url %}<a href="{{ x.video.url }}" class="btn btn-sm btn-outline-primary">Video</a>{% endif %}
{% if x.video.youtube %}<a href="https://www.youtube.com/watch?v={{ x.video.youtube }}" class="btn btn-sm btn-outline-primary">YouTube</a>{% endif %} {% if x.video.youtube %}<a href="https://www.youtube.com/watch?v={{ x.video.youtube }}" class="btn btn-sm btn-outline-primary">YouTube</a>{% endif %}
{% if x.video.slides %}<a href="{{ x.slides }}" class="btn btn-sm btn-outline-primary">Slides</a>{% endif %} {% if x.slides %}<a href="{{ x.slides }}" class="btn btn-sm btn-outline-primary">Slides</a>{% endif %}
{% endfor %} {% endfor %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment