Skip to content

Commit

Permalink
chore(template): add trim to the template
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehsiao committed Sep 12, 2023
1 parent c2124c2 commit 4caf52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion in.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h3>Articles from blogs I follow around the net</h3>
<h4 class="title" dir="auto">
<a href="{{ article.link }}" target="_blank" rel="noopener">{{ article.title }}</a>
</h4>
<p class="summary" dir="auto">{{ article.summary | striptags | truncate(length=256) }}</p>
<p class="summary" dir="auto">{{ article.summary | striptags | trim | truncate(length=256) }}</p>
<small class="source"> via <a href="{{ article.source_link }}">{{ article.source_title }}</a></small>
<small class="date">{{ article.date | date(format="%B %d, %Y")}}</small>
</div>
Expand Down

0 comments on commit 4caf52b

Please sign in to comment.