Skip to content
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.

Commit

Permalink
Shorten output of blog posts in previews
Browse files Browse the repository at this point in the history
  • Loading branch information
keithamus committed Apr 18, 2012
1 parent 854c5e6 commit cf533c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _layouts/blog.html
Expand Up @@ -21,7 +21,7 @@
<div class="span11">
<h2><a href="{{ post.url }}">{{{post.title}}</a></h2>
<article class="post-content">
{{ post.content | strip_html | truncatewords: 100 }}
{{ post.content | strip_html | truncatewords: 35 }}
</article>
<div class="post-bar">
<p class="date">Posted on <strong>{{ post.date | date_to_string }}</strong></p>
Expand Down
2 changes: 1 addition & 1 deletion blog/index.html
Expand Up @@ -8,7 +8,7 @@
<div class="span11">
<h2><a href="{{ post.url }}">{{{post.title}}</a></h2>
<article class="post-content">
{{ post.content | strip_html | truncatewords: 100 }}
{{ post.content | strip_html | truncatewords: 35 }}
</article>
<div class="post-bar">
<p class="date">Posted on <strong>{{ post.date | date_to_string }}</strong></p>
Expand Down

0 comments on commit cf533c1

Please sign in to comment.