Sha256: c5ced3a6cd8caa410efc0f18825831db8d2869d259667fc36a093d00489909f4

Contents?: true

Size: 1.28 KB

Versions: 1

Compression:

Stored size: 1.28 KB

Contents

!!! 5
%html
  %head
    %title= [@page_title, config.blog_title].compact.join(" | ")
    %meta{ :"http-equiv" => "content-type", :content => "text/html; charset=UTF-8" }
    %meta{ :name => "viewport", :content => "width=device-width, initial-scale=1.0" }
    %link{ :href => "/assets/schnitzelpress.#{ASSET_TIMESTAMP}.css", :media => "screen", :rel => "stylesheet", :type => "text/css" }
    %link{ :href => config.blog_feed_url, :title => "Subscribe via Atom Feed", :rel => 'alternate', :type => 'application/atom+xml' }
  %body
    .container
      %header
        .site-title
          %a{:href => '/'}= h config.blog_title
        - if @show_description
          ~ markdown config.blog_description

      #actions.admin_only
        = yield_content :actions
        %a{:href => '/admin/'} #{icon 'cog'} Go To Admin
        %a{:href => '/logout'} #{icon 'signout'} Logout

      = yield

      %footer
        ~ markdown config.blog_footer

      - if production? && config.google_analytics_id.present?
        = partial 'google_analytics'
      - if production? && config.gauges_id.present?
        = partial 'gauges'
      - if production? && config.gosquared_id.present?
        = partial 'gosquared'

    %script{ :type => 'text/javascript', :src => "/assets/schnitzelpress.#{ASSET_TIMESTAMP}.js" }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
schnitzelpress-0.2.1 lib/views/layout.haml