Skip to content

Commit

Permalink
Add simple blog_post_page template
Browse files Browse the repository at this point in the history
  • Loading branch information
allcaps committed Aug 21, 2024
1 parent 1928c0b commit 12a5536
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/testapp/templates/testapp/blog_post_page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{% load wagtailcore_tags wagtailimages_tags %}

<h1>{{page.title}}</h1>
<p>{{ page.publication_date }} - {{ page.category }}</p>
{% image page.image fill-320x240 %}
<p>{{ page.intro|richtext }}</p>
{% include_block page.body %}

0 comments on commit 12a5536

Please sign in to comment.