Sha256: 1d84e9b5ac71571ec7dc5fdbb15963536159a6d1cf6ffb0e469a340294b53d24

Contents?: true

Size: 1.38 KB

Versions: 4

Compression:

Stored size: 1.38 KB

Contents

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Feather CMS</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <!-- Le styles -->
    <%%= stylesheet_link_tag 'bootstrap' %>
    <%%= javascript_include_tag 'jquery' %>
    <%%= feather_cms_include_tag %>
    <style type="text/css">
      body {
        padding-top: 60px;
        padding-bottom: 40px;
      }
    </style>

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

  </head>

  <body>

    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <%%= link_to 'Feather CMS', feather_pages_path, :class => 'brand' %>
          <div class="nav-collapse">
            <ul class="nav">
            <%- @pages.each do |page| -%>
              <li class="<%%= params[:type] == '<%=page%>' ? 'active' : '' %>">
                <%%= link_to '<%= page.humanize %>' , feather_page_path('<%= page %>') %> 
              </li>
            <%- end -%>  
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>

    <div class="container">
      <%%= yield %>
    </div> 

  </body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
feather_cms-0.0.4 lib/generators/feather_cms/templates/layout.html.erb
feather_cms-0.0.3 lib/generators/feather_cms/templates/layout.html.erb
feather_cms-0.0.2 lib/generators/feather_cms/templates/layout.html.erb
feather_cms-0.0.1 lib/generators/feather_cms/templates/layout.html.erb