Sha256: 37443e891654ab696cd880005a0fc4a31d538d7c2c6108907ce18dc5b9412854

Contents?: true

Size: 831 Bytes

Versions: 2

Compression:

Stored size: 831 Bytes

Contents

<!DOCTYPE html>
<html>
<head>
  <title>Dummy</title>
  <%= stylesheet_link_tag "blogit", "application" %>
  <%= csrf_meta_tags %>
</head>
<body>

  <div id="content">

    <% if current_user %>
      <%= link_to("log out", main_app.session_path, method: :delete) %>
    <% else %>
      <%= link_to("log in", main_app.new_session_path) %>
    <% end %>

    <h1><%= link_to("My Awesome Blog", blogit.blog_root_path) %></h1>

    <%= yield %>
  </div>

  <div id="sidebar">
    <%= blog_posts_archive_tag('archive-year', 'archive-month', 'archive-post') do |post| %>
      <% link_to(post.title, blogit.post_path(post)) %>
    <% end %>
  </div>

  <footer id="application_footer">
    By <%= link_to("Gavin Morrice", "http://gavinmorrice.com") %>
  </footer>
  <%= javascript_include_tag "application", "blogit" %>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blogit-1.0.0.rc1 spec/dummy/app/views/layouts/application.html.erb
blogit-0.8.0 spec/dummy/app/views/layouts/application.html.erb