summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorLars Henrik Mai <lars.mai@kontinui.de>2014-04-09 18:22:31 +0200
committerLars Henrik Mai <lars.mai@kontinui.de>2014-04-09 18:22:31 +0200
commit71855cf5438e3a77f5ffb09eaabc788a4a220403 (patch)
treebfc3da7e325bd7592df2a6034e25c77c19706d7c /source
parenta3995bf898c38ed755a3e1bd60b3b4aaf27670ec (diff)
better blog article summaries
Diffstat (limited to 'source')
-rw-r--r--source/_article_summary.html.erb4
1 files changed, 3 insertions, 1 deletions
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 %>
<div>
<h3><%= link_to article.title, article %> <span><%= article.date.strftime('%b %e') %></span></h3>
- <%= article.summary %>
+ <p>
+ <%= article_paragraphs(article).first %> <%= link_to "Mehr >>", article %>
+ </p>
</div>