36 lines
984 B
HTML
36 lines
984 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block htmltitle %}
|
|
{{ article.title }}
|
|
{% endblock %}
|
|
|
|
{% block metadata %}
|
|
{{ article.metatags }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% include 'extras/header.html' with instance=article %}
|
|
<section>
|
|
<div class="container">
|
|
<p class="text-right small">
|
|
Updated: {{ article.date|datetime }}
|
|
</p>
|
|
{{ article.content }}
|
|
</div>
|
|
</section>
|
|
{% 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>
|
|
</section>
|
|
{% endif %}
|
|
{% endblock %}
|