|
a/bitergiametrics/templates/metrics/index.html |
|
b/bitergiametrics/templates/metrics/index.html |
|
... |
|
... |
2 |
|
2 |
|
3 |
{% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}}{% endblock %}
|
3 |
{% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}}{% endblock %}
|
4 |
|
4 |
|
5 |
{% block header %}{{c.project.name}} / {{c.app.config.options.mount_label}}: Recent posts{% endblock %}
|
5 |
{% block header %}{{c.project.name}} / {{c.app.config.options.mount_label}}: Recent posts{% endblock %}
|
6 |
|
6 |
|
7 |
{% block extra_css %}
|
|
|
8 |
<link rel="alternate" type="application/rss+xml" title="RSS" href="feed.rss"/>
|
|
|
9 |
<link rel="alternate" type="application/atom+xml" title="Atom" href="feed.atom"/>
|
|
|
10 |
{% endblock %}
|
|
|
11 |
|
|
|
12 |
{% block actions %}
|
|
|
13 |
<a href="feed" title="RSS"><b data-icon="{{g.icons['feed'].char}}" class="ico {{g.icons['feed'].css}}" title="Feed"></b></a>
|
|
|
14 |
{% endblock %}
|
|
|
15 |
|
|
|
16 |
{% block content %}
|
7 |
{% block content %}
|
17 |
{% for post in posts %}
|
8 |
{% for metrics in metrics %}
|
18 |
{% if not loop.first %}
|
9 |
{% if not loop.first %}
|
19 |
<hr />
|
10 |
<hr />
|
20 |
{% endif %}
|
11 |
{% endif %}
|
21 |
{{c.form.display(value=post)}}
|
12 |
{{c.form.display(value=metrics)}}
|
22 |
{% endfor %}
|
13 |
{% endfor %}
|
23 |
{{c.pager.display(limit=limit, page=page, count=count)}}
|
14 |
{{c.pager.display(limit=limit, page=page, count=count)}}
|
24 |
{% endblock %}
|
15 |
{% endblock %}
|