_layouts/default.html in jekyll-theme-hacker-nogh-0.2.0 vs _layouts/default.html in jekyll-theme-hacker-nogh-0.2.1
- old
+ new
@@ -37,10 +37,12 @@
<a href="{{ site.zip_url }}" class="btn">Download as .zip</a>
{% endif %}
{% if site.tar_url %}
<a href="{{ site.tar_url }}" class="btn">Download as .tar.gz</a>
{% endif %}
- <a href="{{ site.repository_url }}" class="btn">View Project</a>
+ {% if site.repository_url %}
+ <a href="{{ site.repository_url }}" class="btn">View Project</a>
+ {% endif %}
</section>
</div>
</header>
<div class="container">