/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
- {% extends theme.base %}
-
- {% block title %}{% if tag %}Tag: {{ tag }} - {% endif %}{{ config.blog_title }} {% endblock %}
-
- {% block feed %}
- {% if tag %}
- <link rel="alternate" type="application/rss+xml" title="{{ config.blog_title }} >> tag: {{ tag }}" href="{{ config.default_host }}/blog/feed/tag/{{ tag }}" />
- {% endif %}
- <link rel="alternate" type="application/rss+xml" title="{{ config.blog_title }}" href="{{ config.default_host }}/blog/feed" />
- {% endblock %}
-
- {% block content %}
- {% for post in posts %}
- {% include theme.post_item %}
- {% endfor %}
- <br />
- <div id="page_panel">
- {% if tag %}??: {{ tag }}{% endif %} ????{{ post_count }}? ?({{ page }}/{{max_page}})?
- {% if show_prev %}
- <a href="/blog/{% if tag %}tag/{{ tag }}/{% endif %}page/1" title=??"">??</a>
- <a href="/blog/{% if tag %}tag/{{ tag }}/{% endif %}page/{{ prev }}" title="???">???</a>
- {% else %}
- ??
- ???
- {% endif %}
- {% for page_cnt in page_list %}
- <a href="/blog/{% if tag %}tag/{{ tag }}/{% endif %}page/{{ page_cnt }}" title="?{{ page_cnt }}?">{{ page_cnt }}</a>
- {% endfor %}
- ...
- {% if show_next %}
- <a href="/blog/{% if tag %}tag/{{ tag }}/{% endif %}page/{{ next }}" title="???">???</a>
- <a href="/blog/{% if tag %}tag/{{ tag }}/{% endif %}page/{{max_page}}" title="??">??</a>
- {% else %}
- ???
- ??
- {% endif %}
- </div>
- {% endblock %}