blob: 0161fdf2853386871aa06f097521cdfe61bbfa6b (
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
38
39
40
|
{% extends "base.html" %}
{% block title %}{{ article.title }} - {{ super() }}{% endblock title %}
{% block description %}{{ article.content|striptags|truncate(200)|escape }}{% endblock description %}
{% block keywords %}{% for tag in article.tags|sort %}{{ tag }}{% if not loop.last %}, {% endif %}{% endfor %}{% endblock keywords %}
{% block content %}
<dl class="dl-horizontal">
<h1>{{ article.title }}</h1>
<br />
<div class="card">
{% set in_article = true %}
{% include "article_header.html" %}
<!-- <h1>{{ article.title }}</h1>
<div class="pull-right">
<p class="timer">This article takes {{article.read_time_string}} to read.</p>
</div> -->
{{ article.content }}
</div>
</dl>
<!-- <div class="col-lg-9 content">
{{ article.content }}
{% if article.related_posts %}
<h4>Articles connexes</h4>
<dl class="dl-horizontal">
{% for related_post in article.related_posts %}
<dt>{{ related_post.locale_date}}</dt>
<dd><a href="{{ SITEURL }}/{{ related_post.url }}">{{ related_post.title }}</a></dd>
{% endfor %}
</dl>
{% endif %}
</div> -->
{% endblock %}
|