PageRenderTime 18ms CodeModel.GetById 14ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/themes/default/templates/postlist_page.html

http://n23.googlecode.com/
HTML | 38 lines | 35 code | 3 blank | 0 comment | 0 complexity | b254367e51be3e96575aa0ba336ee640 MD5 | raw file
 1{% extends theme.base %}
 2
 3{% block title %}{% if tag %}Tag: {{ tag }} - {% endif %}{{ config.blog_title }} {% endblock %}
 4
 5{% block feed %}
 6{% if tag %}
 7	<link rel="alternate" type="application/rss+xml" title="{{ config.blog_title }} >> tag: {{ tag }}" href="{{ config.default_host }}/blog/feed/tag/{{ tag }}" />
 8{% endif %}
 9	<link rel="alternate" type="application/rss+xml" title="{{ config.blog_title }}" href="{{ config.default_host }}/blog/feed" />
10{% endblock %}
11
12{% block content %}
13{% for post in posts %}
14{% include theme.post_item %}
15{% endfor %}
16<br />
17<div id="page_panel">
18{% if tag %}??: {{ tag }}{% endif %} ????{{ post_count }}? ?({{ page }}/{{max_page}})?
19{% if show_prev %}
20<a href="/blog/{% if tag %}tag/{{ tag }}/{% endif %}page/1" title=??"">??</a>
21<a href="/blog/{% if tag %}tag/{{ tag }}/{% endif %}page/{{ prev }}" title="???">???</a>
22{% else %}
23??
24???
25{% endif %}
26{% for page_cnt in page_list %}
27<a href="/blog/{% if tag %}tag/{{ tag }}/{% endif %}page/{{ page_cnt }}" title="?{{ page_cnt }}?">{{ page_cnt }}</a>
28{% endfor %}
29...
30{% if show_next %}
31<a href="/blog/{% if tag %}tag/{{ tag }}/{% endif %}page/{{ next }}" title="???">???</a>
32<a href="/blog/{% if tag %}tag/{{ tag }}/{% endif %}page/{{max_page}}" title="??">??</a>
33{% else %}
34???
35??
36{% endif %}
37</div>
38{% endblock %}