1
Fork 0

Fix project buttons layout

This commit is contained in:
Jake Howard 2017-01-15 14:12:05 +00:00
parent b5c4a360d7
commit df987c1181
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -18,15 +18,19 @@
{{ article.content }}
</div>
</section>
<div class="container text-center">
<div class="btn-group">
{% if article.download_link %}
<a class="btn btn-primary btn-xl" href="{{ article.download_link }}">Download {{ article.title }}</a>
{% endif %}
{% if article.download_link or aricle.repo %}
<section class="text-center">
<div class="container">
<div class="btn-group">
{% if article.download_link %}
<a class="btn btn-primary btn-xl" href="{{ article.download_link }}">Download {{ article.title }}</a>
{% endif %}
{% if article.repo %}
<a class="btn btn-github btn-xl" href="{{ article.repo }}"><i class="fa fa-github fa-lg"></i> View on Github</a>
{% endif %}
</div>
</div>
{% if article.repo %}
<a class="btn btn-github btn-xl" href="{{ article.repo }}"><i class="fa fa-github fa-lg"></i> View on Github</a>
{% endif %}
</div>
</div>
</section>
{% endif %}
{% endblock %}