%body
  - if @obj && !@obj.permalink.nil?
    
    / Set your background image for this header on the line below.
    %header.intro-header{class: 'lazyload', loading: 'lazy', style: "padding-top: 100px; background-image: url('img/kata-cover.png')"}
      .container
        .row
          .col-lg-8.col-lg-offset-2.col-md-10.col-md-offset-1
            .post-heading
              %h1 CoderDojo Kata
              %h2.subheading 道場情報まとめ

    / Post Content
    %article
      .container
        .row
          .col-lg-8.col-lg-offset-2.col-md-10.col-md-offset-1.fontsize-bigger
            / Navigator
            %p{:style => "margin-top: -35px; padding-bottom: 20px;"}
              %a{:href => "/"}トップ
              → Kata
            / Scrivito contents
            = scrivito_tag :div, @obj, :body
            %hr/
            %p{:align => "right", :style => "color: grey; padding-bottom: 50px;"}
              更新日: #{@obj.last_changed.strftime("%Y年%m月%d日")}
  - else
    = scrivito_tag :div, @obj, :body

%body
  - if @obj && !@obj.permalink.nil?
    
    / Set your background image for this header on the line below.
    %header.intro-header{class: 'lazyload', loading: 'lazy', style: "padding-top: 100px; background-image: url('img/kata-cover.png')"}
      .container
        .row
          .col-lg-8.col-lg-offset-2.col-md-10.col-md-offset-1
            .post-heading
              %h1 CoderDojo Kata
              %h2.subheading 道場情報まとめ

    / Post Content
    %article
      .container
        .row
          .col-lg-8.col-lg-offset-2.col-md-10.col-md-offset-1.fontsize-bigger
            / Navigator
            %p{style: "margin-top: -35px; padding-bottom: 20px;"}
              %a{href: "/"}トップ
              → Kata
            / Scrivito contents
            = scrivito_tag :div, @obj, :body
            %hr/
            %p{align: "right", style: "color: grey; padding-bottom: 50px;"}
              更新日: #{@obj.last_changed.strftime("%Y年%m月%d日")}
  - else
    = scrivito_tag :div, @obj, :body

Use abbr style of hash rocket: '=>' in View
Use abbr style of hash rocket: '=>' in View
