diff options
Diffstat (limited to 'app/views/refinery/blog/widgets/_blog_archive.html.erb')
-rw-r--r-- | app/views/refinery/blog/widgets/_blog_archive.html.erb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/refinery/blog/widgets/_blog_archive.html.erb b/app/views/refinery/blog/widgets/_blog_archive.html.erb new file mode 100644 index 0000000..7679a5b --- /dev/null +++ b/app/views/refinery/blog/widgets/_blog_archive.html.erb @@ -0,0 +1,10 @@ +<section id="blog_archive_widget"> + <h2><%= t('archives', :scope => 'refinery.blog.shared') %></h2> + <nav> + <ul> + <% posts.each do |post| %> + <li><%= archive_link(post) %></li> + <% end %> + </ul> + </nav> +</section>
\ No newline at end of file |