!!! 5
<!--[if IE 8 ]>    <html lang="en" class="no-js #{ @body_class } ie8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="no-js #{ @body_class } ie9"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
%head
  <!--<![endif]-->
  %meta{ :charset => "utf-8" }

  %meta{name: "viewport", content: "initial-scale=1.0,user-scalable=no,maximum-scale=1.0"}
  %meta{name: "apple-mobile-web-app-capable", content: "yes"}
  %link{rel: "apple-touch-icon", href: "/assets/conditions.png"}
  %link{rel: "apple-touch-icon", sizes: "114x114", href: "/assets/conditions@2x.png"}
  %link{rel: "shortcut icon", href: "/assets/conditions.png"}

  %title= content_for?(:title) ? yield(:title) : "Untitled"

  = stylesheet_link_tag "application"
  = javascript_include_tag "application"
  = csrf_meta_tag

%body{class: @body_class}
  #header
    .content
      .title
        %h1= yield :title
      .date
        = Date.today.to_s(:long)

  .content
    = yield

!!! 5
<!--[if IE 8 ]>    <html lang="en" class="no-js #{ @body_class } ie8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" class="no-js #{ @body_class } ie9"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
%head
  <!--<![endif]-->
  %meta{ :charset => "utf-8" }

  %meta{name: "viewport", content: "initial-scale=1.0,user-scalable=no,maximum-scale=1.0"}
  %meta{name: "apple-mobile-web-app-capable", content: "yes"}
  %link{rel: "apple-touch-icon", href: asset_path("conditions.png")}
  %link{rel: "apple-touch-icon", sizes: "114x114", href: asset_path("conditions@2x.png")}
  %link{rel: "shortcut icon", href: asset_path("conditions.png")}

  %title= content_for?(:title) ? yield(:title) : "Untitled"

  = stylesheet_link_tag "application"
  = javascript_include_tag "application"
  = csrf_meta_tag

%body{class: @body_class}
  #header
    .content
      .title
        %h1= yield :title
      .date
        = Date.today.to_s(:long)

  .content
    = yield

Fix reference to asset image to use asset_path.
Fix reference to asset image to use asset_path.
