Commit 99a840e1 authored by Jacek Lebioda's avatar Jacek Lebioda

feat: strip html and use word truncation

parent 7f8b8967
......@@ -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"]
......
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