1
Fork 0

Fix url and conditionally show section

This commit is contained in:
Jake Howard 2016-12-24 19:57:44 +00:00
parent c8be0baa1f
commit 78dbc49f1a

View file

@ -11,15 +11,17 @@
{% include_block page.body %}
</div>
</section>
{% if page.get_download_link or page.project_url %}
<section class="text-center">
<div class="btn-group">
{% if page.get_download_link %}
<a class="btn btn-primary btn-xl" href="{{ page.get_download_link }}">Download {{ page.title }}</a>
{% endif %}
{% if page.url %}
{% if page.project_url %}
<a class="btn btn-github btn-xl" href="{{ page.project_url }}"><i class="fa fa-github fa-lg"></i> View Project</a>
{% endif %}
</div>
</section>
{% endif %}
{% endblock %}