Fix project buttons layout
This commit is contained in:
parent
b5c4a360d7
commit
df987c1181
1 changed files with 14 additions and 10 deletions
|
@ -18,15 +18,19 @@
|
||||||
{{ article.content }}
|
{{ article.content }}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<div class="container text-center">
|
{% if article.download_link or aricle.repo %}
|
||||||
<div class="btn-group">
|
<section class="text-center">
|
||||||
{% if article.download_link %}
|
<div class="container">
|
||||||
<a class="btn btn-primary btn-xl" href="{{ article.download_link }}">Download {{ article.title }}</a>
|
<div class="btn-group">
|
||||||
{% endif %}
|
{% if article.download_link %}
|
||||||
|
<a class="btn btn-primary btn-xl" href="{{ article.download_link }}">Download {{ article.title }}</a>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if article.repo %}
|
{% 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>
|
<a class="btn btn-github btn-xl" href="{{ article.repo }}"><i class="fa fa-github fa-lg"></i> View on Github</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</section>
|
||||||
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Reference in a new issue