Sha256: ec0c4f0139a4c060121e8a78bae8f389cb4f524095f4f6b5069b7ba80b3afeac

Contents?: true

Size: 942 Bytes

Versions: 3

Compression:

Stored size: 942 Bytes

Contents

<%= row do %>
  <%= span(12) do %>
      <section>
        <h1 class="section-title">
          <%= current_page.title %>
        </h1>
      </section>
  <% end %>
<% end %>


<%= row do %>
  
 <%= span(12) do %>
   
   
 <% if @posts.any? %>
   <ul class="unstyled index">
           <% @posts.each do |post| %>
  
             <li id="<%= post.slug %>" class="index-item">
                 <%= index_item(
                 :title => post.title,
                 :pubdate => post.created_at,
                 :excerpt => post.excerpt, 
                 :link_url => page_path_for(post), 
                 :link_label => t('continue_reading', :scope => 'site', :default => "Continue Reading"), 
                 :image => post.image.url) %>
             </li>
  
           <% end %>
   </ul>
   <% end %>
   
   
 <% end %>
  
  
  
  
  
<% end %>

<%= row do %>
<%= span(12) do %>
    <%= paginate(@posts) %>
    
  <% end %>
<% end %>


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fullstack-cms-0.2.24 lib/generators/fullstack/cms/templates/rails/app/views/site/site/blog.html.erb
fullstack-cms-0.2.23 lib/generators/fullstack/cms/templates/rails/app/views/site/site/blog.html.erb
fullstack-cms-0.2.22 lib/generators/fullstack/cms/templates/rails/app/views/site/site/blog.html.erb