summaryrefslogtreecommitdiffstats
path: root/themes/rusted/templates/article.html
blob: 416f91b9a7c75e8f15aae051951e561463a8541f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{% extends "base.html" %}

{% block title %}
{{ article.title }} {%if article.subtitle %} - {{ article.subtitle }} {% endif %} · {{ super() }}
{% endblock title %}

{% block head_description %}
{% if article.summary %}
{{ article.summary|striptags }}
{% endif %}
{% endblock head_description %}

{% block meta_tags_in_head %}
{% if article.tags or article.category or article.keywords %}
<meta name="keywords" content="{{ [article.tags|join(', '), article.category, article.keywords]|join(', ') }}" />
{% endif %}
{% endblock meta_tags_in_head %}

{% block content %}

<div class="row text-center">
  <h3> Like what you see? Subscribe! </h3>
</div>

{% include "_subscribe-form.html" %}

<div class="post">
  <header class="post-header">
    {% include "_post-title.html" %}
  </header>

  <article class="post-content">
    {{ article.content }}
  </article>

</div>
{% endblock content %}