Source

django-blog / blog / templates / categories.html

Full commit
{% extends "bbase.html" %}

{% block content %}
    <style type="text/css">
        .main { margin-left: 25px; margin-top: 30px; }
        .time { font-size: 0.8em; margin-top: 2px; }
        .body { font-size: 1.1em; margin-top: 2px; }
        .commentlink { text-align: right; }
        .step-links a { font-size: 0.89em; }
        .title {
            font-size: 1.4em; margin-top: 20px; border-bottom: 1px solid #ccc;
            padding-left: 4px; margin-left: 5px;
        }
        .messages { margin-left: 20px; }
        .pagination { margin-top: 20px; margin-left: -20px; }
    </style>
    <div class="main">

        <h4>Categories</h4>
            {% for category in categories %}
                <a href="{% url blog.views.category category.title %}">{{ category.title }}</a><br/><br/>
            {% endfor %}

    </div>

{% endblock %}