Sha256: 5ef7ee6840b47d76d6accec00897ba0c2dbe5a04a69fb862d1cf7576bec1ea52

Contents?: true

Size: 785 Bytes

Versions: 1

Compression:

Stored size: 785 Bytes

Contents

!!! 5
%html
  %head
    %title= [@page_title, settings.blog_title].compact.join(" | ")
    %meta{ name: "viewport", content: "width=device-width, initial-scale=1.0" }
    %link{ href: '/blog.css', media: "screen", rel: "stylesheet", type: "text/css" }
    %link{ href: '/atom.xml', title: "Subscribe via Atom Feed", rel: 'alternate', type: 'application/atom+xml' }
  %body
    .container
      %header
        %h1
          = link_to settings.blog_title, '/'
        - if @show_description
          ~ markdown settings.blog_description

      = yield

      %footer
        ~ markdown settings.footer

      - if production? && settings.google_analytics_id.present?
        = partial 'google_analytics'
      - if production? && settings.gauges_id.present?
        = partial 'gauges'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
schreihals-0.0.3 lib/views/layout.haml