Skip to content

Commit

Permalink
Apply truncatechars
Browse files Browse the repository at this point in the history
  • Loading branch information
ankiwoong committed May 4, 2020
1 parent 6a6393c commit a7e8b66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blog/templates/blog/post_detail.html
Expand Up @@ -40,8 +40,8 @@ <h1 class="entry-title">

<div class=" entry-content">
<div class="content-wrap content-660 center-relative">
<!-- 글 내용 -->
{{ post.content }}
<!-- 글 내용은 300자를 초과하면 ...으로 표시 -->
{{ post.content|truncatechars:300 }}
<div class="clear"></div>
</div>
</div>
Expand Down

0 comments on commit a7e8b66

Please sign in to comment.