<commit_before>!!!
%html
  %head
    %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}
      %title= content_for?(:title) ? yield(:title) : t("application_name_title", default: "APPLICATION NAME")
      %meta{content: content_for?(:description) ? yield(:description) : t("meta_description", default: "META DESCRIPTION"), name: "description"}
        = csrf_meta_tags
        = yield(:head)
        = stylesheet_link_tag "application", :media => "all"

  %body{:class => "#{controller_name} #{action_name}"}

    %header.site-header
      .container
        = render "shared/header"
        = yield :hero

    %main#main
      = render 'layouts/messages'
      = yield

    = render 'shared/navigation'

    - if content_for?(:footer)
      = yield :footer
    - else
      .container
        %footer.page-footer
          = "© 2012-#{Time.now.year}"
          ernte-teilen.org –
          = render 'shared/footer'

    = javascript_include_tag "application"
    = yield :javascript
<commit_msg>Set client-side locale.<commit_after>!!!
%html
  %head
    %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}
      %title= content_for?(:title) ? yield(:title) : t("application_name_title", default: "APPLICATION NAME")
      %meta{content: content_for?(:description) ? yield(:description) : t("meta_description", default: "META DESCRIPTION"), name: "description"}
        = csrf_meta_tags
        = yield(:head)
        = stylesheet_link_tag "application", :media => "all"

  %body{:class => "#{controller_name} #{action_name}"}

    %header.site-header
      .container
        = render "shared/header"
        = yield :hero

    %main#main
      = render 'layouts/messages'
      = yield

    = render 'shared/navigation'

    - if content_for?(:footer)
      = yield :footer
    - else
      .container
        %footer.page-footer
          = "© 2012-#{Time.now.year}"
          ernte-teilen.org –
          = render 'shared/footer'

    = javascript_include_tag "application"
    :javascript
      I18n.defaultLocale = "#{I18n.default_locale}";
      I18n.locale = "#{I18n.locale}";
    = yield :javascript

{'fraction_non_alphanumeric': 0.15288683602771364, 'fraction_numerical': 0.009237875288683603, 'mean_word_length': 2.8268551236749118, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '4654937', 'n_tokens_mistral': 706, 'n_tokens_neox': 673, 'n_words': 131}