/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. {% block title %}{% if tag %}Tag: {{ tag }} - {% endif %}{{ config.blog_title }} {% endblock %}
  3. {% block feed %}
  4. {% if tag %}
  5. <link rel="alternate" type="application/rss+xml" title="{{ config.blog_title }} >> tag: {{ tag }}" href="{{ config.default_host }}/blog/feed/tag/{{ tag }}" />
  6. {% endif %}
  7. <link rel="alternate" type="application/rss+xml" title="{{ config.blog_title }}" href="{{ config.default_host }}/blog/feed" />
  8. {% endblock %}
  9. {% block content %}
  10. {% for post in posts %}
  11. {% include theme.post_item %}
  12. {% endfor %}
  13. <br />
  14. <div id="page_panel">
  15. {% if tag %}??: {{ tag }}{% endif %} ????{{ post_count }}? ?({{ page }}/{{max_page}})?
  16. {% if show_prev %}
  17. <a href="/blog/{% if tag %}tag/{{ tag }}/{% endif %}page/1" title=??"">??</a>
  18. <a href="/blog/{% if tag %}tag/{{ tag }}/{% endif %}page/{{ prev }}" title="???">???</a>
  19. {% else %}
  20. ??
  21. ???
  22. {% endif %}
  23. {% for page_cnt in page_list %}
  24. <a href="/blog/{% if tag %}tag/{{ tag }}/{% endif %}page/{{ page_cnt }}" title="?{{ page_cnt }}?">{{ page_cnt }}</a>
  25. {% endfor %}
  26. ...
  27. {% if show_next %}
  28. <a href="/blog/{% if tag %}tag/{{ tag }}/{% endif %}page/{{ next }}" title="???">???</a>
  29. <a href="/blog/{% if tag %}tag/{{ tag }}/{% endif %}page/{{max_page}}" title="??">??</a>
  30. {% else %}
  31. ???
  32. ??
  33. {% endif %}
  34. </div>
  35. {% endblock %}