Sha256: 1d140416c771740ad430a3fef858c0e1dfd7d851b5d218585b5c9e7e70b2479e
Contents?: true
Size: 1.26 KB
Versions: 10
Compression:
Stored size: 1.26 KB
Contents
<% cache(@posts) do %> <% if @posts.length > 0 %> <%= render @posts %> <div class="pagination"> <%= link_to_next_page @posts, "Older", class: "older" %> <%= link_to_previous_page @posts, "Newer", class: "newer" %> </div> <% else %> <div class="post"> <h2> <a href="https://github.com/codelation/blogelator"> Welcome to Blogelator </a> </h2> <div class="date"> <%= local_time(Time.now, format: '%B %e, %Y') %> </div> <div class="summary"> <p> Navigate to <%= link_to "#{File.join(request.path, "admin")}", blogelator.admin_path %> to create your first blog post. You will need to have your authentication set up already before you can access the Blogelator admin section. </p> <p> For more information about setting up Blogelator, check out the Readme on GitHub: </p> <blockquote> <a href="https://github.com/codelation/blogelator">https://github.com/codelation/blogelator</a> </blockquote> <p> Thanks for using Blogelator, </p> <p> <a href="http://twitter.com/brianpattison">@brianpattison</a> </p> </div> </div> <% end %> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems