Sha256: e85405bb5e4b6be206da18e964ac923a81db4ccc4182e9cd7ca7b166c562ba4d

Contents?: true

Size: 752 Bytes

Versions: 2

Compression:

Stored size: 752 Bytes

Contents

<div class="post-sidebar">

  <h3><%= t('.recent_posts') %></h3>  
  <%= render 'blog/shared/archive', :posts => @archive_posts %>
  
  <p class="more"><%= link_to t('.view_archive'), archive_posts_path %></p>
  
  <div class="post-categories">
    <h3><%= t('.categories') %></h3>
    <ul>
      <% @post_categories.each do |category| %>
        <li><%= link_to category.name, post_category_path(category.permalink) %></li>
      <% end %>
    </ul>
  </div>
  
  <div class="tag-cloud">
    <h3><%= t('.tags') %></h3>
    <ul class="tags">
      <% tag_cloud @tags, %w(neat cool rad awesome) do |tag, css_class| %>
        <li><%= link_to tag.name, search_posts_path(tag.name), :class => css_class %></li>
      <% end %>
    </ul>
  </div>
  
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_essential_blog-0.1.0 app/views/blog/shared/_sidebar.html.erb
spree_essential_blog-0.1.0.rc1 app/views/blog/shared/_sidebar.html.erb