Sha256: fedd6202b7760c6d32ec4c3a27e7cf179d1cba26cd89d1ad62f122c465df954a

Contents?: true

Size: 916 Bytes

Versions: 19

Compression:

Stored size: 916 Bytes

Contents

<head>
  <% if content_for?(:meta) %>
    <%= yield :meta %>
  <% else %>
    <% 
      site_title       = get_setting(:site_title) || Settings.app.title
      site_description = get_setting(:site_description) || Settings.app.slogan
      site_slogan      = get_setting(:site_slogan) || Settings.app.slogan    
     %>
   
    <% if home? %>
      <%= meta_tags(
          :title => "#{site_title} - #{site_slogan}",
          :description => site_description,
          :og => {:type => "website"}
          ) 
      %>
    <% elsif meta_title %>
      <%= meta_tags(
        :title => "#{meta_title} | #{site_title}",
        :description => meta_description,
        :og => {:image => meta_image, :type => (meta_type || "article")}
        )
      %>
    <% end %>
  <% end %>

 
  <%= stylesheet_link_tag 'site/site' %>
  <%= yield :stylesheets %>
  
  <script src="/js/modernizr-2.5.3.min.js"></script>
</head>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
fullstack-cms-0.2.5 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.2.4 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.2.3 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.2.2 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.2.1 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.1.17 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.1.15 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.1.14 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.1.13 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.1.12 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.1.11 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.1.9 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.1.8 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.1.7 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.1.6 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.1.5 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.1.4 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.1.3 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.1.2 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb