blob: e00ffdc5fdf8582d7771a5e13db99c8a439cfb55 (
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
41
42
43
44
45
46
47
48
49
50
51
|
{% extends "base.html" %}
{% block title %} {{ article.title}} {%endblock title %}
{% block home %} | <a href="{{ SITEURL }}">Home</a> | {% endblock %}
{% block article %}
<h1><a href="{{ SITEURL }}/{{ article.url}}">{{
article.title |striptags }}</a></h1>
{% endblock %}
{% block head %}
{{ super() }}
{% for keyword in article.keywords %}
<meta name="keywords" content="{{keyword}}" />
{% endfor %}
{% for description in article.description %}
<meta name="description" content="{{description}}" />
{% endfor %}
{% for tag in article.tags %}
<meta name="tags" content="{{tag}}" />
{% endfor %}
{% endblock %}
{% block content %}
<section id="content" class="body">
<footer class="post-info">
<p> Posted on {{ article.date|strftime('%b %d, %Y')}}
{% if article.authors %} By {{ article.author }}
{% endif %}
{% if article.category %} under {{ article.category }}
{% endif %}
</p>
</abbr>
{% if article.modified %}
<abbr class="modified" title="{{ article.modified.isoformat() }}">
Modified on {{ article.locale_modified }}
</abbr>
{% endif %}
</footer><!-- /.post-info -->
<div class="entry-content">
{{ article.content }}
</div><!-- /.entry-content -->
<div id="footer">
<p>
<italic>Tagged as:
{% for t in article.tags|sort %}
{{t}},
{% endfor %}
</italic>
</p>
</section>
{% endblock %}
|