<commit_before><!DOCTYPE html>
{% load i18n geotrek_tags mapentity_tags staticfiles %}

{% settings_value "PRIMARY_COLOR" as primary_color %}

<html lang="en">
  <head>
    {% block style %}
      <style type="text/css">
        {% include template_css %}

        .intro-left .teaser,
        .meta-items-title,
        .advice-title,
        .elevation-title,
        .half-block h2,
        .block h2,
        .information-desks h2 {
          color: {{ primary_color }};
        }

      </style>
    {% endblock style %}
  </head>
  <body>
    {% block body %}
      <header>
        <div class="logo">
          <img src="file://{% media_static_fallback_path "upload/logo-header.png" "images/logo-header.png" %}" alt="">
        </div>
        <div class="url">
          {% block url %}
            <div class="main">rando.geotrek.fr</div>
            <div class="geo">{% trans "Powered by geotrek.fr" %}</div>
          {% endblock url %}
        </div>
      </header>
      <div class="gray">
        <div>
          {% if object.practice %}
            <div class="main-icon category-T{{ object.practice.pk }}" {% block picto_attr %}{% endblock picto_attr %}>
              <img src="file://{{ object.practice.pictogram.path }}" alt="">
            </div>
          {% endif %}
          <div class="main-title">
            <h1>{{ object.name }}</h1>
            <h2>
              {% block main_title_h2 %}
                {{ object.districts.0.name }}{% if object.districts and object.city_departure %} - {% endif %}{{ object.city_departure }}
              {% endblock %}
            </h2>
          </div>
        </div>
        <hr>
        {% if object.picture_print %}
          <div class="main-picture" style="background-image: url('file://{{ object.picture_print.path }}');"></div><div class="main-map" style="background-image: url('file://{{ map_path }}');"></div>
          {% if object.picture_print.legend or object.picture_print.author %}
            <legend>
              {{ object.picture_print.legend }}
              {% if object.picture_print.author %}({{ object.picture_print.author }}){% endif %}
            </legend>
          {% endif %}
        {% else %}
          <div class="main-picture" style="background-image: url('file://{% media_static_fallback_path "upload/placeholder.png" "images/placeholder.png" %}');"></div><div class="main-map" style="background-image: url('file://{{ map_path }}');"></div>
        {% endif %}
      </div>
      <div class="intro"><commit_msg>Fix css class of diving category icon in PDF template<commit_after><!DOCTYPE html>
{% load i18n geotrek_tags mapentity_tags staticfiles %}

{% settings_value "PRIMARY_COLOR" as primary_color %}

<html lang="en">
  <head>
    {% block style %}
      <style type="text/css">
        {% include template_css %}

        .intro-left .teaser,
        .meta-items-title,
        .advice-title,
        .elevation-title,
        .half-block h2,
        .block h2,
        .information-desks h2 {
          color: {{ primary_color }};
        }

      </style>
    {% endblock style %}
  </head>
  <body>
    {% block body %}
      <header>
        <div class="logo">
          <img src="file://{% media_static_fallback_path "upload/logo-header.png" "images/logo-header.png" %}" alt="">
        </div>
        <div class="url">
          {% block url %}
            <div class="main">rando.geotrek.fr</div>
            <div class="geo">{% trans "Powered by geotrek.fr" %}</div>
          {% endblock url %}
        </div>
      </header>
      <div class="gray">
        <div>
          {% if object.practice %}
            <div class="main-icon category-D{{ object.practice.pk }}" {% block picto_attr %}{% endblock picto_attr %}>
              <img src="file://{{ object.practice.pictogram.path }}" alt="">
            </div>
          {% endif %}
          <div class="main-title">
            <h1>{{ object.name }}</h1>
            <h2>
              {% block main_title_h2 %}
                {{ object.districts.0.name }}{% if object.districts and object.city_departure %} - {% endif %}{{ object.city_departure }}
              {% endblock %}
            </h2>
          </div>
        </div>
        <hr>
        {% if object.picture_print %}
          <div class="main-picture" style="background-image: url('file://{{ object.picture_print.path }}');"></div><div class="main-map" style="background-image: url('file://{{ map_path }}');"></div>
          {% if object.picture_print.legend or object.picture_print.author %}
            <legend>
              {{ object.picture_print.legend }}
              {% if object.picture_print.author %}({{ object.picture_print.author }}){% endif %}
            </legend>
          {% endif %}
        {% else %}
          <div class="main-picture" style="background-image: url('file://{% media_static_fallback_path "upload/placeholder.png" "images/placeholder.png" %}');"></div><div class="main-map" style="background-image: url('file://{{ map_path }}');"></div>
        {% endif %}
      </div>
      <div class="intro">
{'fraction_non_alphanumeric': 0.17941640378548895, 'fraction_numerical': 0.004337539432176656, 'mean_word_length': 2.0304659498207887, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 89, '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': '4150731', 'n_tokens_mistral': 1674, 'n_tokens_neox': 1524, 'n_words': 306}