Sha256: 5b460bdcc89c41bbb4c8f87bff95b3c3af967c59a9091521ad5e0661c4ec6c5a
Contents?: true
Size: 1.58 KB
Versions: 5
Compression:
Stored size: 1.58 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 %> <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
5 entries across 5 versions & 1 rubygems