Initial commit

This commit is contained in:
2013-09-24 15:54:41 +02:00
commit c544d768ef
32 changed files with 706 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{% extends "front_base.html" %}
{% block content %}
{% if posts %}
{% for post in posts %}
{{ post.title }}
{% endfor %}
{% else %}
<p>No posts are returned for your query.</p>
{% endif %}
{% endblock %}

View File

@@ -0,0 +1,5 @@
{% extends "front_base.html" %}
<div class="post">
<h3><a href="{% url 'read' post.created_at.year post.created_at.month post.created_at.day post.slug %}">{{ post.title }}</a></h3>
</div>