<commit_before>{% extends "base.html" %}
{% load mezzanine_tags comment_tags keyword_tags rating_tags i18n future staticfiles %}

{% block meta_title %}{{ blog_post.meta_title }}{% endblock %}
{% block og_title %}{{ blog_post.meta_title }}{% endblock %}

{% block meta_keywords %}{% metablock %}
{% keywords_for blog_post as tags %}
{% for tag in tags %}{% if not forloop.first %}, {% endif %}{{ tag }}{% endfor %}
{% endmetablock %}{% endblock %}

{% block meta_description %}{% metablock %}
{{ blog_post.description }}
{% endmetablock %}{% endblock %}

{% block og_description %}{% metablock %}
{{ blog_post.description }}
{% endmetablock %}{% endblock %}

{% block title %}
{% editable blog_post.title %}{{ blog_post.title }}{% endeditable %}
{% endblock %}

{% block breadcrumb_menu %}
{{ block.super }}
<li class="active">{{ blog_post.title }}</li>
{% endblock %}

{% block main %}



<header class="article">
    <h1 class="text-center">{{ blog_post.title }}</h1>

    <div class="time text-center">
        Temps de lecture indicatif : <strong>{% widthratio blog_post.content|wordcount 300 1 %} minutes</strong>.
    </div>
    <div class="ebook text-center">
        <i class="icon-book" style="color:#D9534F"></i> 
            <a href="{% url 'blogebook.views.post_epub_download' blog_post.slug %}">Télécharger sous forme d'ebook (.epub)</a>
    </div>
</header>


<article class="entry post-single clearfix">


    <div class="entry_content">

        {{ blog_post.content|richtext_filters|safe }}

        <footer class="well well-meta post-footer">

            <ul class="entry_meta clearfix list-inline text-muted">

                <li><i class="icon-calendar"></i> <time pubdate="pubdate" datetime="{{ blog_post.publish_date|date:"Y-m-d" }}">{{ blog_post.publish_date|date:"j F Y" }}</time></li>
                <li><i class="icon-user"></i> {{ blog_post.user.get_full_name|default:blog_post.user.username }}</li>
                <li><i class="icon-copy"></i>
                
                {% with blog_post.categories.all as categories %}
                {% if categories %}
                {% for category in categories %}
                <a href="{% url "blog_post_list_category" category.slug %}">{{ category }}</a>{% if not forloop.last %}, {% endif %}
                {% endfor %}
                {% endif %}
                {% endwith %}

            </ul>

            <div>
                <span><strong>Soutenir mes écrits :</strong></span>
                <script id='fb17wor'>(function(i){var f,s=document.getElementById(i);f=document.createElement('iframe');f.src='//api.flattr.com/button/view/?uid=vjousse&button=compact&url='+encodeURIComponent(document.URL);f.title='Flattr';f.height=20;f.width=110;f.style.borderWidth=0;s.parentNode.insertBefore(f,s);})('fb17wor');</script>
            </div>
            <div>
                <span><strong>Partager cet article :</strong></span>

                <a href="http://facebook.com/sharer.php?u={{ request.build_absolute_uri }}&amp;t={{ blog_post.title|urlencode }}" class="ntip" style="color: #3b5998" title="Partager sur Facebook"><i class="icon-facebook-sign"></i> Facebook</a> — 
                <a href="http://twitter.com/home/?status={{ blog_post.title }} - {{ request.build_absolute_uri }} via @vjousse " class="ntip" style="color: #4099FF" title="Tweet on Twitter"><i class="icon-twitter-sign"></i> Twitter</a> — 
                <a href="https://plus.google.com/share?url={{ request.build_absolute_uri }}" onclick="javascript:window.open(this.href,
                    '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false; " class="ntip" style="color: #b63324;" title="Partager sur Google Plus"><i class="icon-google-plus-sign"></i> Google +</a>
            </div>
            <div>

            <div id="displaycomments">
            {% if blog_post.comments_count > 0 %}
                <span>{{ blog_post.comments_count }}</span> Commentaire{{ blog_post.comments_count|pluralize }} — <a class="comments-toggle" href="#comments">Participer à la discussion</a>
            {% else %}
                Aucun commentaire — <a class="comments-toggle" href="#comments">Commenter</a>
            {% endif %}

            </div>

        </footer>

    </div>
    
    <!--
    {% block blog_post_previous_next %}
    <ul class="pager nobottommargin">
    {% with blog_post.get_previous_by_publish_date as previous %}
    {% if previous %}
    <li class="previous">
        <a href="{{ previous.get_absolute_url }}">&larr; {{ previous }}</a>
    </li>
    {% endif %}
    {% endwith %}
    {% with blog_post.get_next_by_publish_date as next %}
    {% if next %}<commit_msg>Updae blog post footer<commit_after>{% extends "base.html" %}
{% load mezzanine_tags comment_tags keyword_tags rating_tags i18n future staticfiles %}

{% block meta_title %}{{ blog_post.meta_title }}{% endblock %}
{% block og_title %}{{ blog_post.meta_title }}{% endblock %}

{% block meta_keywords %}{% metablock %}
{% keywords_for blog_post as tags %}
{% for tag in tags %}{% if not forloop.first %}, {% endif %}{{ tag }}{% endfor %}
{% endmetablock %}{% endblock %}

{% block meta_description %}{% metablock %}
{{ blog_post.description }}
{% endmetablock %}{% endblock %}

{% block og_description %}{% metablock %}
{{ blog_post.description }}
{% endmetablock %}{% endblock %}

{% block title %}
{% editable blog_post.title %}{{ blog_post.title }}{% endeditable %}
{% endblock %}

{% block breadcrumb_menu %}
{{ block.super }}
<li class="active">{{ blog_post.title }}</li>
{% endblock %}

{% block main %}



<header class="article">
    <h1 class="text-center">{{ blog_post.title }}</h1>

    <div class="time text-center">
        Temps de lecture indicatif : <strong>{% widthratio blog_post.content|wordcount 300 1 %} minutes</strong>.
    </div>
    <div class="ebook text-center">
        <i class="icon-book" style="color:#D9534F"></i> 
            <a href="{% url 'blogebook.views.post_epub_download' blog_post.slug %}">Télécharger sous forme d'ebook (.epub)</a>
    </div>
</header>


<article class="entry post-single clearfix">


    <div class="entry_content">

        {{ blog_post.content|richtext_filters|safe }}

        <hr />
        <em style="font-size: 16px;">J'espère que cet article a été à la hauteur du temps que vous lui avez consacré ! Je crois fermenent que chaque personne sur cette Terre a quelque chose à offrir aux autres. Vous y compris.<br />
            Si vous en avez le temps et l'envie, n'hésitez pas à donner à votre tour.<br/>Vous pouvez par exemple :
            <ul>
                <li><strong>partager sur les réseaux sociaux</strong> : 
                <a href="http://facebook.com/sharer.php?u={{ request.build_absolute_uri }}&amp;t={{ blog_post.title|urlencode }}" class="ntip" style="color: #3b5998" title="Partager sur Facebook"><i class="icon-facebook-sign"></i> Facebook</a> — 
                <a href="http://twitter.com/home/?status={{ blog_post.title }} - {{ request.build_absolute_uri }} via @vjousse " class="ntip" style="color: #4099FF" title="Tweet on Twitter"><i class="icon-twitter-sign"></i> Twitter</a> — 
                <a href="https://plus.google.com/share?url={{ request.build_absolute_uri }}" onclick="javascript:window.open(this.href,
                    '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false; " class="ntip" style="color: #b63324;" title="Partager sur Google Plus"><i class="icon-google-plus-sign"></i> Google +</a>
                
                </li>
                <li><strong>me soutenir sur <a href="http://ploum.net/si-vous-testiez-le-web-payant/">Flattr</a></strong> : <script id='fb17wor'>(function(i){var f,s=document.getElementById(i);f=document.createElement('iframe');f.src='//api.flattr.com/button/view/?uid=vjousse&button=compact&url='+encodeURIComponent(document.URL);f.title='Flattr';f.height=20;f.width=110;f.style.borderWidth=0;s.parentNode.insertBefore(f,s);})('fb17wor');</script>
                </li>
                <li>m'envoyer un petit <strong>merci</strong> <a href="mailto:<EMAIL>">par mail</a> ou par <a href="http://twitter.com/home/?status=merci pour l'article '{{ blog_post.title }}' @vjousse {{ request.build_absolute_uri }}">Twitter</a></li>
            </ul>

            Quoiqu'il en soit, <strong>merci</strong> de m'avoir lu !
            
            </em>

        <footer class="well well-meta post-footer">

            <ul class="entry_meta clearfix list-inline text-muted">

                <li><i class="icon-calendar"></i> <time pubdate="pubdate" datetime="{{ blog_post.publish_date|date:"Y-m-d" }}">{{ blog_post.publish_date|date:"j F Y" }}</time></li>
                <li><i class="icon-user"></i> {{ blog_post.user.get_full_name|default:blog_post.user.username }}</li>
                <li><i class="icon-copy"></i>
                
                {% with blog_post.categories.all as categories %}
                {% if categories %}
                {% for category in categories %}
                <a href="{% url "blog_post_list_category" category.slug %}">{{ category }}</a>{% if not forloop.last %}, {% endif %}
                {% endfor %}
                {% endif %}
                {% endwith %}

            </ul>

            <div>

            <div id="displaycomments">
            {% if blog_post.comments_count > 0 %}
                <span>{{ blog_post.comments_count }}</span> Commentaire{{ blog_post.comments_count|pluralize }} — <a class="comments-toggle" href="#comments">Participer à la discussion</a>
            {% else %}
                Aucun commentaire — <a class="comments-toggle" href="#comments">Commenter</a>
            {% endif %}

            </div>

        </footer>

    </div>
    
    <!--
    {% block blog_post_previous_next %}
    <ul class="pager nobottommargin">
    {% with blog_post.get_previous_by_publish_date as previous %}
    {% if previous %}
    <li class="previous">
        <a href="{{ previous.get_absolute_url }}">&larr; {{ previous }}</a>
    </li>
    {% endif %}
    {% endwith %}
    {% with blog_post.get_next_by_publish_date as next %}
    {% if next %}
{'fraction_non_alphanumeric': 0.17805261091480173, 'fraction_numerical': 0.008637612877895563, 'mean_word_length': 3.0035363457760313, 'pattern_counts': {'":': 0, '<': 177, '<?xml version=': 0, '>': 177, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7243961', 'n_tokens_mistral': 3494, 'n_tokens_neox': 3197, 'n_words': 644}