Sha256: be74f2dbb1f8fc999d49a866a05bc457a8454d39379dab55d826bbf29af61fcf

Contents?: true

Size: 966 Bytes

Versions: 4

Compression:

Stored size: 966 Bytes

Contents

<% self.respond_to?(:title) && title(@index_title) -%>
<% @show_title = false -%>
<%= stylesheet_link_tag 'blog_kit' %>
<%= stylesheet_link_tag 'syntax/' + (BlogBasic::BlogConf.data['theme'] || 'mac_classic') %>
<% 
#auto_discovery_link_tag :atom, blog_posts_path(:format => :atom) 
%>

<% if @blog_posts.size != 0 -%>
  <%= render :partial => 'blog_basic/shared/index_top' %>
<% end %>

<%= render :partial => 'blog_basic/blog_posts/admin_links' %>

<% if @blog_posts.size == 0 && !params[:page] %>
	<div class="blogPost">
		<h1>No Blog Posts</h1>
        <p>There are currently no blog posts, please check back shortly.</p><%= link_to "test", blog_posts_path %>
	</div>
<% else %>
	<% if @tag %>
		<h1>Tag: <%= @tag %></h1>
	<% end %>
	<%= render :collection => @blog_posts, :partial => 'blog_basic/blog_posts/blog_post' %>
<% end %>

<div class="blogPages">
  <%= will_paginate @blog_posts %>
</div>

<%= render :partial => 'blog_basic/blog_posts/admin_links' %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blog_basic-0.1.14 app/views/blog_basic/blog_posts/index.html.erb
blog_basic-0.1.13 app/views/blog_basic/blog_posts/index.html.erb
blog_basic-0.1.9 app/views/blog_basic/blog_posts/index.html.erb
blog_basic-0.1.6 app/views/blog_basic/blog_posts/index.html.erb