Sha256: dc245356da4e3893c8ee47f688f30a632cbc7103d8f885ff90a4e235ce2c803b

Contents?: true

Size: 669 Bytes

Versions: 4

Compression:

Stored size: 669 Bytes

Contents

<% content_for :header do %>
  <div id="header" class="bordered">
    <div class="banner">
      <%= link_to Mist.title, posts_path %>
      
      <div class="author">
        with <%= mail_to Mist.author.email, Mist.author.name %>
      </div>
    </div>

    <div class="admin">
      <%= authorized_link :create_post, 'New Post', new_post_path %>
    </div>
  </div>
<% end %>

<% if @posts.empty? %>
  <div class="post bordered">
    <div class="title">
      <h1>
        o hai!
      </h1>
    </div>

    <p>
      Welcome to my new blog! I'll have some decent content up in no time &mdash; promise!
    </p>
  </div>
<% else %>
  <%= render_posts %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mist-0.6.3 app/views/mist/posts/index.html.erb
mist-0.6.2 app/views/mist/posts/index.html.erb
mist-0.6.1 app/views/mist/posts/index.html.erb
mist-0.6.0 app/views/mist/posts/index.html.erb