[Git][reproducible-builds/reproducible-website][master] Fix YouTube link conditional. Thanks dongcarl.
Chris Lamb
gitlab at salsa.debian.org
Tue Jun 11 17:46:09 UTC 2019
Chris Lamb pushed to branch master at Reproducible Builds / reproducible-website
Commits:
bd5fc188 by Chris Lamb at 2019-06-11T17:45:17Z
Fix YouTube link conditional. Thanks dongcarl.
- - - - -
1 changed file:
- resources.md
Changes:
=====================================
resources.md
=====================================
@@ -22,7 +22,7 @@ Find out how to contribute on our [Contribute]({{ "/contribute/" | prepend: site
[{{ x.event.name }}]({{ x.event.url }}) • {{ x.event.location }} {% if x.event.date %}• {{ x.event.date | date: "%-d %B %Y" }}{% endif %}
{% 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="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 %}
{% endfor %}
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/bd5fc188c03b8a3f8f6daf15b7da1fd5307197ad
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/commit/bd5fc188c03b8a3f8f6daf15b7da1fd5307197ad
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20190611/a82d3c77/attachment.html>
More information about the rb-commits
mailing list