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

feat: strip html and use word truncation

parent 7f8b8967
No related branches found
No related tags found
2 merge requests!44Develop,!43feat: strip html and use word truncation
...@@ -33,7 +33,7 @@ layout: default ...@@ -33,7 +33,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 }} {{ post.content | strip_html | truncatewords: 52 }}
</div> </div>
</div> </div>
{% endfor %} {% endfor %}
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "jekyll-elixir-theme" spec.name = "jekyll-elixir-theme"
spec.version = "0.9.24" spec.version = "0.9.25"
spec.authors = ["jacek.lebioda"] spec.authors = ["jacek.lebioda"]
spec.email = ["jacek.lebioda@uni.lu"] 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