<commit_before>{#
	variables that are available:
	- {{ widgetBlogRecentComments }}: contains an array with the recent comments. Each element contains data about the comment.
#}

{% if widgetBlogRecentComments %}
  <section id="blogRecentCommentsWidget" class="mod">
    <div class="inner">
      <header class="hd">
        <h3>{{ 'lbl.RecentComments'|trans|capitalize }}</h3>
      </header>
      <div class="bd content">
        <ul>
          {% for comment in widgetBlogRecentComments %}
            <li>
              {% if comment.website %}<a href="{{ comment.website }}" rel="nofollow">{% endif %}
                {{ comment.author }}
                {% if comment.website %}</a>{% endif %}
              {{ 'lbl.CommentedOn'|trans }} <a href="{{ comment.full_url }}">{{ comment.post_title }}</a>
            </li>
          {% endfor %}
        </ul>
      </div>
    </div>
  </section>
{% endif %}<commit_msg>Simplify if statements<commit_after>{#
	variables that are available:
	- {{ widgetBlogRecentComments }}: contains an array with the recent comments. Each element contains data about the comment.
#}

{% if widgetBlogRecentComments %}
  <section id="blogRecentCommentsWidget" class="mod">
    <div class="inner">
      <header class="hd">
        <h3>{{ 'lbl.RecentComments'|trans|capitalize }}</h3>
      </header>
      <div class="bd content">
        <ul>
          {% for comment in widgetBlogRecentComments %}
            <li>
              {% if comment.website %}
                <a href="{{ comment.website }}" rel="nofollow">{{ comment.author }}</a>
              {% else %}
                {{ comment.author }}
              {% endif %}
              {{ 'lbl.CommentedOn'|trans }} <a href="{{ comment.full_url }}">{{ comment.post_title }}</a>
            </li>
          {% endfor %}
        </ul>
      </div>
    </div>
  </section>
{% endif %}
{'fraction_non_alphanumeric': 0.16631130063965885, 'fraction_numerical': 0.0021321961620469083, 'mean_word_length': 2.225085910652921, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '4264099', 'n_tokens_mistral': 596, 'n_tokens_neox': 525, 'n_words': 135}