summaryrefslogtreecommitdiff
path: root/source/_article_summary.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'source/_article_summary.html.erb')
-rw-r--r--source/_article_summary.html.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/_article_summary.html.erb b/source/_article_summary.html.erb
new file mode 100644
index 0000000..fbb4cfd
--- /dev/null
+++ b/source/_article_summary.html.erb
@@ -0,0 +1,5 @@
+<% article = article_summary %>
+<div>
+ <h3><%= link_to article.title, article %> <span><%= article.date.strftime('%b %e') %></span></h3>
+ <%= article.summary %>
+</div>