<commit_before>!!!
%html{'ng-app' => 'loomioApp', 'ng-controller' => 'RootController as app'}
  %head
    %title= AppConfig.theme[:site_name]
    %meta{charset: 'utf-8'}
    %meta{content: 'IE=Edge', 'http-equiv' => 'X-UA-Compatible'}
    %meta{content: 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no', name: "viewport"}
    %base{href: '/'}

    %link{rel: 'canonical', 'ng-if' => 'links.canonical', 'ng-href' => '{{links.canonical}}'}
    %link{rel: 'alternate', type: 'application/rss+xml', 'ng-if' => 'links.rss', 'ng-href' => '{{links.rss}}'}
    %link{rel: 'prev', 'ng-if' => 'links.prev', 'ng-href' => '{{links.prev}}'}
    %link{rel: 'next', 'ng-if' => 'links.next', 'ng-href' => '{{links.next}}'}
    %link{rel: 'manifest', href: '/manifest.json'}
    %link{rel: "shortcut icon", href: AppConfig.theme[:icon_src]}

    %link{href: client_asset_path(:"app.min.css"), rel: 'stylesheet'}

    = render 'angular/metadata'
    = render 'application/google_analytics', code: ENV['GOOGLE_TAG_MANAGER_ID']
    = render 'angular/intercom' if current_user.is_logged_in?

  %body{'ng-keydown' => 'keyDown($event)', layout: "column", flex: ""}
    %flash
    %navbar{'ng-if' => 'translationsLoaded'}

    %md_content.lmo-sidebar-and-main-container{'ng-if' => 'translationsLoaded', layout: "row", flex: ""}
      %sidebar{'ng-if': "isLoggedIn() && renderSidebar"}
      %md_content.lmo-main-content{flex: ""}
        .lmo-main-background
          %verify_email_notice{'ng-if' => 'isLoggedIn() && !isEmailVerified()'}
          %ng_outlet{'ng-if' => '!refreshing && !pageError'}
          %error_page{'ng-if' => 'pageError', 'error' => 'pageError'}

    %script{src: client_asset_path(:"vendor.min.js")}
    :javascript
      window.Loomio = #{@payload.to_json.html_safe}
      window.Loomio.emojis.source = (emojione.shortnames || "").split("|")
      window.Loomio.emojis.render = emojione.shortnameToImage
    %script{src: client_asset_path(:"app.js")}

    = javascript_include_tag 'angular_ahoy' if hosted_by_loomio?<commit_msg>everyone gets ahoy<commit_after>!!!
%html{'ng-app' => 'loomioApp', 'ng-controller' => 'RootController as app'}
  %head
    %title= AppConfig.theme[:site_name]
    %meta{charset: 'utf-8'}
    %meta{content: 'IE=Edge', 'http-equiv' => 'X-UA-Compatible'}
    %meta{content: 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no', name: "viewport"}
    %base{href: '/'}

    %link{rel: 'canonical', 'ng-if' => 'links.canonical', 'ng-href' => '{{links.canonical}}'}
    %link{rel: 'alternate', type: 'application/rss+xml', 'ng-if' => 'links.rss', 'ng-href' => '{{links.rss}}'}
    %link{rel: 'prev', 'ng-if' => 'links.prev', 'ng-href' => '{{links.prev}}'}
    %link{rel: 'next', 'ng-if' => 'links.next', 'ng-href' => '{{links.next}}'}
    %link{rel: 'manifest', href: '/manifest.json'}
    %link{rel: "shortcut icon", href: AppConfig.theme[:icon_src]}

    %link{href: client_asset_path(:"app.min.css"), rel: 'stylesheet'}

    = render 'angular/metadata'
    = render 'application/google_analytics', code: ENV['GOOGLE_TAG_MANAGER_ID']
    = render 'angular/intercom' if current_user.is_logged_in?

  %body{'ng-keydown' => 'keyDown($event)', layout: "column", flex: ""}
    %flash
    %navbar{'ng-if' => 'translationsLoaded'}

    %md_content.lmo-sidebar-and-main-container{'ng-if' => 'translationsLoaded', layout: "row", flex: ""}
      %sidebar{'ng-if': "isLoggedIn() && renderSidebar"}
      %md_content.lmo-main-content{flex: ""}
        .lmo-main-background
          %verify_email_notice{'ng-if' => 'isLoggedIn() && !isEmailVerified()'}
          %ng_outlet{'ng-if' => '!refreshing && !pageError'}
          %error_page{'ng-if' => 'pageError', 'error' => 'pageError'}

    %script{src: client_asset_path(:"vendor.min.js")}
    :javascript
      window.Loomio = #{@payload.to_json.html_safe}
      window.Loomio.emojis.source = (emojione.shortnames || "").split("|")
      window.Loomio.emojis.render = emojione.shortnameToImage
    %script{src: client_asset_path(:"app.js")}

    = javascript_include_tag 'angular_ahoy'
{'fraction_non_alphanumeric': 0.2167644183773216, 'fraction_numerical': 0.001466275659824047, 'mean_word_length': 4.281290322580645, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4025082', 'n_tokens_mistral': 1532, 'n_tokens_neox': 1497, 'n_words': 233}