<commit_before>{% extends 'AppBundle::base.html.twig' %}
{% block title %}
    {{ word.latin }} | Gaffiot en ligne | Gaffiot.org
{% endblock title %}
{% block description %}
    <meta name="description"
          content="{{ word.latin }} {{ word.french|striptags }}">
{% endblock description %}

{% block graph %}
    <meta property="og:url" content="https://www.gaffiot.org/{{ word.id }}"/>
    <meta property="og:type" content="website"/>
    <meta property="og:title" content="{{ word.latin }} | Gaffiot en ligne | Gaffiot.org"/>
    <meta property="og:description"
          content="{{ word.french|striptags }}"/>
    <script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "CreativeWork",
  "url": "https://www.gaffiot.org/{{ word.id }}",
  "keywords": "gaffiot en ligne, gaffiot",
  "name": "{{ word.latinRaw }}",
  "headline": "{{ word.latin }}",
  "text": "{{ word.french|striptags }}"
}

    </script>
{% endblock %}
{% block body %}
    <br>
    <button type="button" class="btn btn-outline-dark btn-sm" onclick="goBack()"><span
                class="oi oi-chevron-left"></span> Retour
    </button>

    <br><br>
    <p>
        <a class="btn btn-outline-primary btn-sm" data-toggle="collapse" href="#scan" role="button"
           aria-expanded="false"
           aria-controls="scan">
            <span class="oi oi-document"></span> Page numérisée <span class="oi oi-chevron-bottom"></span>
        </a>
    </p>
    <div class="collapse" id="scan">
        <div class="card card-body">
            {% for page in word.pages %}
                <a href="{{ asset('data/'~page.file) }}" target="_blank"><img src="{{ asset('data/'~page.file) }}"
                                                                              width="100%"
                                                                              alt="{{ word.latin }}"><br><br>
                    <center>
                        <button type="button" class="btn btn-outline-secondary btn-sm">Ouvrir <span
                                    class="oi oi-share"></span>
                        </button>
                    </center>
                </a>
            {% endfor %}
        </div>
    </div>
    <div class="detail">
        <b>{{ word.latin }}</b> {{ word.french|raw }}
    </div><commit_msg>Modify alt of page to first word on page<commit_after>{% extends 'AppBundle::base.html.twig' %}
{% block title %}
    {{ word.latin }} | Gaffiot en ligne | Gaffiot.org
{% endblock title %}
{% block description %}
    <meta name="description"
          content="{{ word.latin }} {{ word.french|striptags }}">
{% endblock description %}

{% block graph %}
    <meta property="og:url" content="https://www.gaffiot.org/{{ word.id }}"/>
    <meta property="og:type" content="website"/>
    <meta property="og:title" content="{{ word.latin }} | Gaffiot en ligne | Gaffiot.org"/>
    <meta property="og:description"
          content="{{ word.french|striptags }}"/>
    <script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "CreativeWork",
  "url": "https://www.gaffiot.org/{{ word.id }}",
  "keywords": "gaffiot en ligne, gaffiot",
  "name": "{{ word.latinRaw }}",
  "headline": "{{ word.latin }}",
  "text": "{{ word.french|striptags }}"
}

    </script>
{% endblock %}
{% block body %}
    <br>
    <button type="button" class="btn btn-outline-dark btn-sm" onclick="goBack()"><span
                class="oi oi-chevron-left"></span> Retour
    </button>

    <br><br>
    <p>
        <a class="btn btn-outline-primary btn-sm" data-toggle="collapse" href="#scan" role="button"
           aria-expanded="false"
           aria-controls="scan">
            <span class="oi oi-document"></span> Page numérisée <span class="oi oi-chevron-bottom"></span>
        </a>
    </p>
    <div class="collapse" id="scan">
        <div class="card card-body">
            {% for page in word.pages %}
                <a href="{{ asset('data/'~page.file) }}" target="_blank"><img src="{{ asset('data/'~page.file) }}"
                                                                              width="100%"
                                                                              alt="{{ page.firstWord }}"><br><br>
                    <center>
                        <button type="button" class="btn btn-outline-secondary btn-sm">Ouvrir <span
                                    class="oi oi-share"></span>
                        </button>
                    </center>
                </a>
            {% endfor %}
        </div>
    </div>
    <div class="detail">
        <b>{{ word.latin }}</b> {{ word.french|raw }}
    </div>
{'fraction_non_alphanumeric': 0.19019061897622616, 'fraction_numerical': 0.001285071749839366, 'mean_word_length': 1.9315756434400502, 'pattern_counts': {'":': 14, '<': 85, '<?xml version=': 0, '>': 85, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5996440', 'n_tokens_mistral': 1451, 'n_tokens_neox': 1386, 'n_words': 287}