Skip to content
This repository has been archived by the owner on Jun 29, 2020. It is now read-only.

Commit

Permalink
markdown filterの代わりにKawaz独自の parser filter を導入
Browse files Browse the repository at this point in the history
  • Loading branch information
shinka-cb committed Oct 19, 2014
1 parent 9b5a6fc commit 159ba71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Expand Up @@ -18,6 +18,7 @@ <h2>
<p class="badge">{{ object.category.label }}</p>
</div>
<article class="markdown">
{{ object.body | markdown | truncatechars_html:140}}
{% load parser %}
{{ object.body | parser | truncatechars_html:140}}
</article>
</div>
3 changes: 2 additions & 1 deletion src/templates/blogs/components/entry_truncated.html
Expand Up @@ -18,6 +18,7 @@ <h2>
<p class="badge">{{ object.category.label }}</p>
</div>
<article class="markdown">
{{ object.body | markdown | truncatechars_html:140}}
{% load parser %}
{{ object.body | parser | truncatechars_html:140}}
</article>
</div>

0 comments on commit 159ba71

Please sign in to comment.