/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
- {% extends theme.base %}
- {% block title %} {{ post.title }} - {{ config.blog_title|escape }} {% endblock %}
- {% block keywords %}<meta name="keywords" content="{% for tag in post.tags %}{{ tag }}, {% endfor %}{{ config.site_keywords }}" />{% endblock %}
- {% block content %}
- {% include theme.post_item %}
-
- <div id="comments">
- <h3>Comments:</h3>
- {% for comment in comments %}
- {% include theme.comment_item %}
- {% endfor %}
-
- <div class="comment">
- {% if self.is_login %}
- {% include theme.newcomment_form %}
- {% else %}
- <p>You can leave a comment on this post if you <a href="/blog/login">login</a></p>
- {% endif %}
- </div>
- </div>
- {% endblock %}