<commit_before>{% extends 'base_dashboard.html' %}

{% load i18n %}
{% load static %}

{% block title %}
  {{ book.title }}
{% endblock title %}

{% block logo %}
    {% with book as book %}
        {% include 'ebooks/book_logo.html' %}
    {% endwith %}
{% endblock logo %}

{% block navbar_logo %}
    {% with book as book %}
        {% include 'ebooks/navbar_logo.html' %}
    {% endwith %}
{% endblock navbar_logo %}

{% block navbarbrand %}{{ book.title }}{% endblock navbarbrand %}

{% block sidebar_items %}
  {% for c in chapters %}
    <li class="nav-item {% if c.slug == chapter.slug %}active{% endif %}">
      <a class="nav-link" href="{% url 'ebooks:chapter-detail' c.chapter_book.slug c.slug %}">
        <p>{{ c.title }}</p>
      </a>
    </li>
  {% endfor %}
{% endblock sidebar_items %}

{% block content_header_title %}{% endblock content_header_title %}

{% block content_body %}

<div class="col-lg-8 col-md-8 ml-auto mr-auto">
  <div class="card card-product text-center">
    <div class="card-header card-header-image">
      <img class="img" src="{{ book.book_product.image }}">
    </div>
    <div class="card-body">
        <h4 class="card-title">Diventi: {{ book.title }}</h4>
        <p class="card-category">{{ book.book_product.abstract }}</p>
    </div>
  </div>
</div>

{% endblock content_body %}    

<commit_msg>Adjusted visual style of ebook cover.<commit_after>{% extends 'base_dashboard.html' %}

{% load i18n %}
{% load static %}

{% block title %}
  {{ book.title }}
{% endblock title %}

{% block logo %}
    {% with book as book %}
        {% include 'ebooks/book_logo.html' %}
    {% endwith %}
{% endblock logo %}

{% block navbar_logo %}
    {% with book as book %}
        {% include 'ebooks/navbar_logo.html' %}
    {% endwith %}
{% endblock navbar_logo %}

{% block navbarbrand %}{{ book.title }}{% endblock navbarbrand %}

{% block sidebar_items %}
  {% for c in chapters %}
    <li class="nav-item {% if c.slug == chapter.slug %}active{% endif %}">
      <a class="nav-link" href="{% url 'ebooks:chapter-detail' c.chapter_book.slug c.slug %}">
        <p>{{ c.title }}</p>
      </a>
    </li>
  {% endfor %}
{% endblock sidebar_items %}

{% block content_header_title %}{% endblock content_header_title %}

{% block content_body %}

<div class="col-lg-8 col-md-12 ml-auto mr-auto">
  <div class="card card-product text-center">
    <div class="card-header card-header-image">
      <img class="img" src="{{ book.book_product.image }}">
    </div>
    <div class="card-body">
        <h4 class="card-title">Diventi: {{ book.title }}</h4>
        <p class="card-category">{{ book.book_product.abstract }}</p>
    </div>
  </div>
</div>

{% endblock content_body %}    


{'fraction_non_alphanumeric': 0.19602795145274, 'fraction_numerical': 0.004781169547627804, 'mean_word_length': 3.1025641025641026, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '3212667', 'n_tokens_mistral': 1039, 'n_tokens_neox': 928, 'n_words': 215}