<commit_before>{% include '_header.twig' %}

<!-- Main Page Content and Sidebar -->

<div class="row">

    <!-- Main Blog Content -->
    <div class="eight columns" role="content">

        <article>

            {{ print(record) }}

            <h2>{{ record.title }}</h2>

            {% if record.subtitle %}
                <h3>{{ record.subtitle }}</h3>
            {% endif %}

            {% for key,value in record.values %}

            {%  if key not in ['id', 'slug', 'datecreated', 'datechanged', 'datepublish', 'username', 'status', 'title', 'subtitle'] %}

            {% if record.fieldtype(key) == "image" and value != "" %}

                {% if record.image!="" %}
                    <div class="twelve columns imageholder">
                        <a href="{{ image(value) }}">
                            <img src="{{ thumbnail(value, 640, 480) }}">
                        </a>
                    </div>
                {% endif %}


            {% elseif record.fieldtype(key) == "imagelist" and value != "" %}

                {# We do something tricky here: we need to get value of the list in the proper
                   way, so the value in actually returned as a list. Using {{ record.key }}<commit_msg>Oops. Removed leftover debug statement. Ref #334<commit_after>{% include '_header.twig' %}

<!-- Main Page Content and Sidebar -->

<div class="row">

    <!-- Main Blog Content -->
    <div class="eight columns" role="content">

        <article>

            <h2>{{ record.title }}</h2>

            {% if record.subtitle %}
                <h3>{{ record.subtitle }}</h3>
            {% endif %}

            {% for key,value in record.values %}

            {%  if key not in ['id', 'slug', 'datecreated', 'datechanged', 'datepublish', 'username', 'status', 'title', 'subtitle'] %}

            {% if record.fieldtype(key) == "image" and value != "" %}

                {% if record.image!="" %}
                    <div class="twelve columns imageholder">
                        <a href="{{ image(value) }}">
                            <img src="{{ thumbnail(value, 640, 480) }}">
                        </a>
                    </div>
                {% endif %}


            {% elseif record.fieldtype(key) == "imagelist" and value != "" %}

                {# We do something tricky here: we need to get value of the list in the proper
                   way, so the value in actually returned as a list. Using {{ record.key }}
{'fraction_non_alphanumeric': 0.16046887631366208, 'fraction_numerical': 0.009296685529506871, 'mean_word_length': 1.5916230366492146, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '4093335', 'n_tokens_mistral': 732, 'n_tokens_neox': 632, 'n_words': 205}