Don't show instructions if blank

This commit is contained in:
Melissa LeBlanc-Williams 2020-05-01 09:42:22 -07:00
parent cb84d9d055
commit fce950a056

View file

@ -11,7 +11,7 @@
For SPI we'll use the spidev python library, etc. These details don't matter
so much because they all happen underneath the adafruit_blinka layer.
</p>
{% if page.download_instructions != nil %}
{% if page.download_instructions != nil and page.download_instructions != "" %}
<div>
<a class="download-button" href="{{ page.download_instructions }}">INSTALLATION INSTRUCTIONS<i class="fas fa-arrow-circle-right" aria-hidden="true"></i></a>
<div class="clear"></div>