{% extends 'blog/base.html' %} {% load thumbnail %} {% block title %}Articles in the "{{ category.name }}" Category{% endblock title %} {% block pagetitle %}Articles in the "{{ category.name }}" Category{% endblock pagetitle %} {% block blog_content %}

Articles in the "{{ category.name }}" Category

{% if category.article_set.count %} {% for article in category.active_articles %}

{{ article.title }}

{% with article.pub_date as d %}
{{ d|date:"F" }} {{ d|date:"jS" }}, {{ d|date:"Y" }} at {{ d|date:"P" }} · By {{ article.author.get_full_name|default:article.author }} {% if article.enable_comments or article.approved_comments %} · {% block blog_comments_link_content %} {% if article.approved_comments %}{{ article.approved_comments }}{% endif %}{% endblock blog_comments_link_content %} {% endif %}
{% if article.photo %}
{% thumbnail article.photo "740x740" as article_photo %}
{% endif %}
{{ article.content|safe|truncatewords_html:50 }}

Read More »

{% endwith %} {% if not forloop.last %}
{% endif %} {% endfor %} {% else %}

There are no articles in this category.

{% endif %} {% endblock blog_content %}