Skip to content
Snippets Groups Projects
Commit ee310305 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

feat: remove html from news on the index page

parent 88fcf53e
No related branches found
No related tags found
No related merge requests found
...@@ -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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment