Sha256: ea6fb0e49cd0f16c5e1e025760f27740dfccf8e4b36cdf33ecd23c3cf36b63f5

Contents?: true

Size: 1.7 KB

Versions: 7

Compression:

Stored size: 1.7 KB

Contents

%head
  /[if lt IE 9]
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  %meta{:charset => 'UTF-8'}
  /[if IE]
    <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
  - if current_page?(root_url)
    - @title_tag = 'Free Classified Advertising Platform for Swapping Unwanted Items for Beer | Swap4Beer'
  - else
    - @title_tag = 'Swap4Beer | Swapping Unwanted Items for Beer'
  = display_meta_tags site: @title_tag,
                      keywords: '',
                      description: 'SWAP4BEER is a free classified ad platform for swapping your unwanted items for beer  - Mates Rates Classifieds!',
                      separator: '|',
                      reverse: true

  %meta{content: "PixelForce Systems", :name => "author"}
  %meta{:content => "Copyright AURA Health #{Date.today.year}. All Rights Reserved.", :name => "Copyright"}

  %meta#viewport{content: "width=720", name: "viewport"}
  :javascript
    (function(doc) {
      var viewport = document.getElementById('viewport');
      if ( navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i)) {
          doc.getElementById("viewport").setAttribute("content", "initial-scale=0.5");
      } else if ( navigator.userAgent.match(/iPad/i) ) {
          doc.getElementById("viewport").setAttribute("content", "initial-scale=0.8");
      }
    }(document));

  %link{:href => "/favicon.ico", :rel => "shortcut icon"}
  / %link{href: "http://fonts.googleapis.com/css?family=Open+Sans:300,400,700", rel: "stylesheet", type: "text/css"}

  = render 'stylesheets'
  = javascript_include_tag 'polyfills'
  = csrf_meta_tag

  /[if lt IE 9]
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pixelforce_cms-0.9.9.5 lib/generators/pixelforce_cms/templates/application/_head.html.haml
pixelforce_cms-0.9.9.4 lib/generators/pixelforce_cms/templates/application/_head.html.haml
pixelforce_cms-0.9.9.3 lib/generators/pixelforce_cms/templates/application/_head.html.haml
pixelforce_cms-0.9.9.2 lib/generators/pixelforce_cms/templates/application/_head.html.haml
pixelforce_cms-0.9.9.1 lib/generators/pixelforce_cms/templates/application/_head.html.haml
pixelforce_cms-0.9.8 lib/generators/pixelforce_cms/templates/application/_head.html.haml
pixelforce_cms-0.9.7 lib/generators/pixelforce_cms/templates/application/_head.html.haml