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

Merge branch 'fix-news-truncation' into 'develop'

feat: strip html and use word truncation

See merge request !43
parents 7f8b8967 99a840e1
No related branches found
No related tags found
Loading
......@@ -33,7 +33,7 @@ layout: default
<span class="post-date">Published on: {{ post.date | date: '%B %d, %Y' }}</span>
<div class="content">
{{ post.content | truncate: 220 }}
{{ post.content | strip_html | truncatewords: 52 }}
</div>
</div>
{% endfor %}
......
......@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "jekyll-elixir-theme"
spec.version = "0.9.24"
spec.version = "0.9.25"
spec.authors = ["jacek.lebioda"]
spec.email = ["jacek.lebioda@uni.lu"]
......
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