<commit_before>{% extends "base.html" %}
{% load static %}
{% load cache %}
{% block content %}
{# Path #}
<ol class="breadcrumb">
  <li><a href="{% url 'blog:top' %}">Accueil</a></li>
</ol>
{% include "pagination.html" %}
{% if user.is_authenticated %}
{# Buttons #}
<div class="row text-center">
  <div style="padding: 10px 0">
    <a href="{% url 'blog:new_post' %}">
      <button class="btn btn-default">Nouveau Post</button></a>
  </div>
</div>
{% endif %}
{# Posts #}
    {% for p in object_list %}
    <div class="row">
      <div class="col-md-8 col-md-offset-2 page-header">
        <h1>{{ p.title }}</h1>
        <p><em>Le {{ p.created_at|date:'d F Y à H:i' }}, par {{ p.author.username }}{% if p.author == user %} – <a href="{% url 'blog:edit' p.slug %}">Modifier</a>{% endif %}</em></p>
      </div>
      <div class="col-md-8 col-md-offset-2">
        {% if p.image %}
          <img src="{{ media }}{{ p.image }}" class="img-responsive">
        {% endif %}<commit_msg>Added max height on images<commit_after>{% extends "base.html" %}
{% load static %}
{% load cache %}
{% block content %}
{# Path #}
<ol class="breadcrumb">
  <li><a href="{% url 'blog:top' %}">Accueil</a></li>
</ol>
{% include "pagination.html" %}
{% if user.is_authenticated %}
{# Buttons #}
<div class="row text-center">
  <div style="padding: 10px 0">
    <a href="{% url 'blog:new_post' %}">
      <button class="btn btn-default">Nouveau Post</button></a>
  </div>
</div>
{% endif %}
{# Posts #}
    {% for p in object_list %}
    <div class="row">
      <div class="col-md-8 col-md-offset-2 page-header">
        <h1>{{ p.title }}</h1>
        <p><em>Le {{ p.created_at|date:'d F Y à H:i' }}, par {{ p.author.username }}{% if p.author == user %} – <a href="{% url 'blog:edit' p.slug %}">Modifier</a>{% endif %}</em></p>
      </div>
      <div class="col-md-8 col-md-offset-2">
        {% if p.image %}
          <img src="{{ media }}{{ p.image }}" class="img-responsive" style="max-height:450px">
        {% endif %}
{'fraction_non_alphanumeric': 0.24675972083748754, 'fraction_numerical': 0.010468594217347957, 'mean_word_length': 3.104294478527607, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, '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': '7302092', 'n_tokens_mistral': 820, 'n_tokens_neox': 747, 'n_words': 179}