Tue, 31 May 2016 23:33:10 +0200
[prologix] typos
36
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
1 | {% extends "base.html" %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
2 | {% block title %}{{ article.title }} - {{SITENAME}}{% endblock title %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
3 | {% block pageheader %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
4 | <div class="hp-header-inner"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
5 | <div class="page-header"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
6 | <div class="content-header"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
7 | <div id="title-block"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
8 | <h1> <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
9 | title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
10 | </div> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
11 | </div> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
12 | </div> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
13 | </div> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
14 | {% endblock %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
15 | {% block content %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
16 | <div class="content-article"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
17 | <header class="header-article"> |
42
3c30fc0f8ce0
[theme] add '(last updated on xxx)' in article timestamps when available
David Douard <david.douard@logilab.fr>
parents:
36
diff
changeset
|
18 | <div class="read-more">Posted on {{ article.locale_date}}{% if article.locale_modified and article.locale_modified != article.locale_date %} <span>(last updated on {{ article.locale_modified }})</span> {% endif %}</div> |
36
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
19 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
20 | </header> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
21 | <section class='article'> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
22 | <div class="entry-content"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
23 | {{ article.content }} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
24 | </div> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
25 | </section> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
26 | <footer class="footer-article"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
27 | <div class="tags-and-categories">Filed under <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
28 | | Tagged: {% if article.tags %}{% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }} </a>{% endfor %}{% endif %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
29 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
30 | | <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
31 | title="Permalink to {{ article.title|striptags }}">Permalink</a> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
32 | </div> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
33 | <!-- metaldata |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
34 | {% for m in article.Metaldata %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
35 | Rock on! {{ m }} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
36 | {% endfor %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
37 | --> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
38 | </footer> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
39 | <!-- disqus {{ DISQUS_SITENAME }} --> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
40 | {% include 'article_discus.html' %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
41 | </div> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
42 | {% endblock %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
43 | {% block sidecontent %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
44 | {% if article.series %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
45 | <h3>{{article.series.name}}</h3> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
46 | <ol class="parts"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
47 | {% for part_article in article.series.all %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
48 | <li {% if part_article == article %}class="active"{% endif %}> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
49 | <a href='{{ SITEURL }}/{{ part_article.url }}'>{{ part_article.title }}</a> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
50 | </li> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
51 | {% endfor %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
52 | </ol> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
53 | {% endif %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
54 | {% if article.related_posts %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
55 | <h3>See also</h3> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
56 | <ol class="parts"> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
57 | {% for related_article in article.related_posts %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
58 | <li> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
59 | <a href='{{ SITEURL }}/{{ related_article.url }}'>{{ related_article.title }}</a> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
60 | </li> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
61 | {% endfor %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
62 | </ol> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
63 | {% else %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
64 | <h3> No related posts </h3> |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
65 | {% endif %} |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
66 | |
9507107a1133
[theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
67 | {% endblock %} |