/themes/default/templates/viewpost_page.html

http://n23.googlecode.com/ · HTML · 22 lines · 19 code · 3 blank · 0 comment · 0 complexity · 2da43c150cd994b8914dd55d7e150bc4 MD5 · raw file

  1. {% extends theme.base %}
  2. {% block title %} {{ post.title }} - {{ config.blog_title|escape }} {% endblock %}
  3. {% block keywords %}<meta name="keywords" content="{% for tag in post.tags %}{{ tag }}, {% endfor %}{{ config.site_keywords }}" />{% endblock %}
  4. {% block content %}
  5. {% include theme.post_item %}
  6. <div id="comments">
  7. <h3>Comments:</h3>
  8. {% for comment in comments %}
  9. {% include theme.comment_item %}
  10. {% endfor %}
  11. <div class="comment">
  12. {% if self.is_login %}
  13. {% include theme.newcomment_form %}
  14. {% else %}
  15. <p>You can leave a comment on this post if you <a href="/blog/login">login</a></p>
  16. {% endif %}
  17. </div>
  18. </div>
  19. {% endblock %}