Commit a10698e9 authored by Jacek Lebioda's avatar Jacek Lebioda
Browse files

Truncating blog post contents

parent b9b3387b
......@@ -8,7 +8,7 @@ layout: default
<a class="post-title" href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
<div class="content">
{{ post.content }}
{{ post.content | truncate: 150 }}...
</div>
<span class="post-date">Published on: {{ post.date | date: '%B %d, %Y' }}</span>
......
......@@ -2,7 +2,7 @@
Gem::Specification.new do |spec|
spec.name = "elixir-theme"
spec.version = "0.1.26"
spec.version = "0.1.27"
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