Skip to content

Commit

Permalink
Ch15: Create flatpages template.
Browse files Browse the repository at this point in the history
  • Loading branch information
jambonrose committed Jul 30, 2015
1 parent 09827df commit 75c7811
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions templates/flatpages/default.html
@@ -0,0 +1,14 @@
{% extends parent_template|default:"base.html" %}

{% block title %}
{{ block.super }} - {{ flatpage.title }}
{% endblock %}

{% block content %}
<div>
<div>
<h1>{{ flatpage.title }}</h1>
{{ flatpage.content }}
</div>
</div>
{% endblock %}

0 comments on commit 75c7811

Please sign in to comment.