Commit ee310305 authored by Jacek Lebioda's avatar Jacek Lebioda

feat: remove html from news on the index page

parent 88fcf53e
...@@ -77,7 +77,7 @@ layout: default ...@@ -77,7 +77,7 @@ layout: default
<span class="post-date">Published on: {{ post.date | date: '%B %d, %Y' }}</span> <span class="post-date">Published on: {{ post.date | date: '%B %d, %Y' }}</span>
<div class="content"> <div class="content">
{{ post.content | truncate: 220 }} <a href="{{ post.url | relative_url }}">(read more)</a> {{ post.content | strip_html | normalize_whitespace | truncate: 220 }} <a href="{{ post.url | relative_url }}">(read more)</a>
</div> </div>
</div> </div>
{% endfor %} {% endfor %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment