<commit_before>---
layout: base
---

<div id="index">
  <h3><a href="{% include _url.html url='/posts/' %}">{{ site.data.t[page.lang].recent_posts }}</a></h3>
  {% for post in site.posts limit:5 %} 
  {% capture comments %}
    <span class="comments"><i class="fa fa-fw fa-comments-o"></i> <a href="{{ site.url }}{{ post.url }}#disqus_thread"></a></span>
  {% endcapture %}   
  <article>
    {% if post.link %}
      <h2 class="link-post"><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></h2>
    {% else %}
      <h2><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
    {% endif %}
    <p class="byline">{{ comments }}{% if post.modified %}<time datetime="{{ post.modified | date: "%Y-%m-%d" }}">{% include _date.html date=post.modified %}</time>{% else %}<time datetime="{{ post.date | date_to_xmlschema }}">{% include _date.html date=post.date %}</time>{% endif %}</p>
    <p>{{ post.excerpt | strip_html }}</p>
  </article>
  {% endfor %}
</div><!-- /#index --><commit_msg>Show at home page only articles of selected language<commit_after>---
layout: base
---

<div id="index">
  <h3><a href="{% include _url.html url='/posts/' %}">{{ site.data.t[page.lang].recent_posts }}</a></h3>
  {% assign posts = site.posts | where:"lang", page.lang %}
  {% for post in posts limit:5 %} 
  {% capture comments %}
    <span class="comments"><i class="fa fa-fw fa-comments-o"></i> <a href="{{ site.url }}{{ post.url }}#disqus_thread"></a></span>
  {% endcapture %}   
  <article>
    {% if post.link %}
      <h2 class="link-post"><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> <a href="{{ post.link }}" target="_blank" title="{{ post.title }}"><i class="fa fa-link"></i></h2>
    {% else %}
      <h2><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
    {% endif %}
    <p class="byline">{{ comments }}{% if post.modified %}<time datetime="{{ post.modified | date: "%Y-%m-%d" }}">{% include _date.html date=post.modified %}</time>{% else %}<time datetime="{{ post.date | date_to_xmlschema }}">{% include _date.html date=post.date %}</time>{% endif %}</p>
    <p>{{ post.excerpt | strip_html }}</p>
  </article>
  {% endfor %}
</div><!-- /#index -->
{'fraction_non_alphanumeric': 0.27717391304347827, 'fraction_numerical': 0.005852842809364548, 'mean_word_length': 3.738613861386139, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2231318', 'n_tokens_mistral': 887, 'n_tokens_neox': 832, 'n_words': 201}