Skip to content

Commit 3bfee01

Browse files
authored
Refactor excerpt output to strip whitespace
1 parent c370a47 commit 3bfee01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/article.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
{% if is_single %}
3333
{{ content }}
3434
{% else %}
35-
<p>{{ post.excerpt | strip_html }}.. <a href="{{ post.url }}">mehr »</a></p>
35+
<p>{{ post.excerpt | strip_html | strip | append: ".." }} <a href="{{ post.url }}">mehr »</a></p>
3636
{% endif %}
3737

3838
{% if is_single and site.disqus_username %}

0 commit comments

Comments
 (0)