Sha256: 0fe1eda03aafac182fee38ed71cb576ccf2ae9d581024f2b49b3c3cb480e2a78
Contents?: true
Size: 1.53 KB
Versions: 80
Compression:
Stored size: 1.53 KB
Contents
- @_current_layout ||= 'application' - body_classes = @_current_layout.split(' ').map{|name| "layout-#{name}"}.join(" ") !!! %html %head %meta{:charset => "utf-8"} %meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"} %meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"} %meta{:content => "width=device-width, initial-scale=1, maximum-scale=1", :name => "viewport"} %meta{:content => site.name, :property => "og:site_name"} %meta{:content => "website", :property => "og:type"} - if content_for?(:title) %title #{yield(:title)} - else %title= "#{site.name} | #{site.tagline}" - if content_for?(:description) %meta{:content => yield(:description), :name => "description"} - elsif site.description.present? %meta{:content => site.description, :name => "description"} - if content_for?(:sharing_meta) = yield :sharing_meta - else %meta{:content => "#{image_url 'common/vw-social.jpg'}", :property => "og:image"} = auto_discovery_link_tag(:rss, virgo.feed_url) = render '/virgo/common/fonts.html.erb' = stylesheet_link_tag "application" = javascript_include_tag "application" = favicon_link_tag 'common/icons/favicon.ico' = csrf_meta_tags = render '/virgo/common/header_analytics.html.erb' %body{class: "#{body_classes} #{params[:controller].split('/').join(' ')} #{params[:action]}#{' admin-user' if admin_access?}"} #wrap = render '/virgo/common/public_nav.haml' #main = yield
Version data entries
80 entries across 40 versions & 1 rubygems