summaryrefslogtreecommitdiff
path: root/app/views/content/_featured_articles.html.erb
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-09-07 14:15:24 +0200
committerhukl <contact@smyck.org>2009-09-07 14:15:24 +0200
commit5e0488e021bee2002d70fa05b79bb85490af020b (patch)
tree2e050fe051ff674434a737daaf071d0355959496 /app/views/content/_featured_articles.html.erb
parent8f2dc36616548650000308ebc8b1f9e2947c0ef9 (diff)
enabling featured articles
Diffstat (limited to 'app/views/content/_featured_articles.html.erb')
-rw-r--r--app/views/content/_featured_articles.html.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/content/_featured_articles.html.erb b/app/views/content/_featured_articles.html.erb
new file mode 100644
index 0000000..08f7624
--- /dev/null
+++ b/app/views/content/_featured_articles.html.erb
@@ -0,0 +1,9 @@
1<div id="frontpage_calendar">
2 <h2>Featured</h2>
3 <ul>
4 <% @featured_articles.each do |item| %>
5 <li><%= link_to_path item.title, item.path %></li>
6 <% end %>
7 </ul>
8</div>
9