Sha256: caaeea0d5c0beaba8588a1c7b88b6bb18e0e602c8fb32913dcb08e69d7ff632a

Contents?: true

Size: 1.76 KB

Versions: 20

Compression:

Stored size: 1.76 KB

Contents

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

      
    <% elsif current_page %>
       <%= meta_tags(
         :title => "#{meta_title || current_page.title} | #{site_title}",
         :description => (meta_description || current_page.description) ?  (meta_description || current_page.description) : nil,
         :og => {:image => meta_image, :type => (meta_type || "article")}
         )
       %>
    
    <% elsif meta_title %>
      <%= meta_tags(
        :title => "#{meta_title} | #{site_title}",
        :description => meta_description,
        :og => {:image => meta_image, :type => (meta_type || "article")}
        )
      %>
    <% end %>
  <% end %>
  
  <meta name="keywords" content="bed and breakfast bologna, bed and breakfast bologna ospedale maggiore, bed and breakfast bologna aereoporto, bed and breakfast bologna fiera" />

 <link rel="shortcut icon" href="/favicon.ico?v=2" />
  <%= stylesheet_link_tag 'site/site' %>
  <%= yield :stylesheets %>
  
  <script src="/js/modernizr-2.5.3.min.js"></script>
</head>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
fullstack-cms-0.3.8.fix lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.3.15 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.3.14 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.3.13 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.3.12 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.3.11 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.3.10 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.3.9 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.3.8 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.3.7 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.3.6 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.3.5 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.3.4 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.3.3 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.3.2 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.3.1 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.2.36 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.2.35 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.2.34 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb
fullstack-cms-0.2.33 lib/generators/fullstack/cms/templates/rails/app/views/site/_head.html.erb