From 71855cf5438e3a77f5ffb09eaabc788a4a220403 Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Wed, 9 Apr 2014 18:22:31 +0200 Subject: better blog article summaries --- source/_article_summary.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source') diff --git a/source/_article_summary.html.erb b/source/_article_summary.html.erb index fbb4cfd..153875c 100644 --- a/source/_article_summary.html.erb +++ b/source/_article_summary.html.erb @@ -1,5 +1,7 @@ <% article = article_summary %>

<%= link_to article.title, article %> <%= article.date.strftime('%b %e') %>

- <%= article.summary %> +

+ <%= article_paragraphs(article).first %> <%= link_to "Mehr >>", article %> +

-- cgit v1.2.1