Skip to content

Commit

Permalink
Moved rendering of the page content to a to be included template.
Browse files Browse the repository at this point in the history
  • Loading branch information
jezdez committed Jul 13, 2010
1 parent aacd1d7 commit 594815f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/wakawaka/templates/wakawaka/page.html
Expand Up @@ -29,7 +29,7 @@ <h1><a href="{% url wakawaka_page slug=page.slug %}">{{ page.slug }}</a></h1>
{% endif %}

<div class="page">
{{ rev.content|urlize|wikify|linebreaks }}
{% include "wakawaka/page_content.html" %}
</div>

{% spaceless %}
Expand Down
1 change: 1 addition & 0 deletions src/wakawaka/templates/wakawaka/page_content.html
@@ -0,0 +1 @@
{% load wakawaka_tags %}{{ rev.content|urlize|wikify|linebreaks }}

0 comments on commit 594815f

Please sign in to comment.