<commit_before>{{ html_begin() }}
{{ head_begin() }}
{{ meta_charset() }}

{{ base_href() }}
{{ ie_edge() }}

{{ html_title() }}
{{ metadata() }}

{{ viewport() }}
{{ favicon() }}
{{ apple_touch_icon_precomposed() }}
{{ cleartype_ie() }}

{{ js_platform() }}
{{ file_partial('webfontloader') }}
{{ theme_css('front.min.css') }}
{{ file_partial('css') }}
{{ partial('css') }}
{{ js('lib/phpjs/phpjs.min.js') }}
{{ js_selectivizr() }}
{{ js_modernizr() }}
{{ js_respond() }}
{{ js_jquery() }}
{{ js('lib/jquery-json/jquery.json.js') }}
{{ partial('ckeditor') }}
{{ partial('head') }}

{{ head_end() }}

{{ body_begin({'id': 'page-top'}) }}

<commit_msg>Twig layouts: Adding classes to the body tag.<commit_after>{{ html_begin() }}
{{ head_begin() }}
{{ meta_charset() }}

{{ base_href() }}
{{ ie_edge() }}

{{ html_title() }}
{{ metadata() }}

{{ viewport() }}
{{ favicon() }}
{{ apple_touch_icon_precomposed() }}
{{ cleartype_ie() }}

{{ js_platform() }}
{{ file_partial('webfontloader') }}
{{ theme_css('front.min.css') }}
{{ file_partial('css') }}
{{ partial('css') }}
{{ js('lib/phpjs/phpjs.min.js') }}
{{ js_selectivizr() }}
{{ js_modernizr() }}
{{ js_respond() }}
{{ js_jquery() }}
{{ js('lib/jquery-json/jquery.json.js') }}
{{ partial('ckeditor') }}
{{ partial('head') }}

{{ head_end() }}

{% set body_attr = {'id': 'page-top'} %}
{% if template.module is not empty %}
    {% set body_attr = html_attr_add_class(body_attr, template.module ~ '_module') %}
{% endif %}
{% if template.controller is not empty %}
    {% set body_attr = html_attr_add_class(body_attr, template.controller) %}
{% endif %}
{% if template.method is not empty %}
    {% set body_attr = html_attr_add_class(body_attr, template.method ~ '_method') %}
{% endif %}
{% if id is not empty %}
    {% set body_attr = html_attr_add_class(body_attr, 'item_' ~ id) %}
{% endif %}
{{ body_begin(body_attr) }}


{'fraction_non_alphanumeric': 0.2523961661341853, 'fraction_numerical': 0.0, 'mean_word_length': 5.120521172638436, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4443708', 'n_tokens_mistral': 718, 'n_tokens_neox': 678, 'n_words': 109}