Sha256: 5572dbe8d3cb53ca9942c38d407b5ec8f1d036d659a414f7d5114a1390908bb7

Contents?: true

Size: 819 Bytes

Versions: 1

Compression:

Stored size: 819 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", 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

1 entries across 1 versions & 1 rubygems

Version Path
blogit-0.6.0 spec/dummy/app/views/layouts/application.html.erb