<commit_before>{% extends "cms_apphook.html" %}
{% load i18n %}
{% load cms_tags %}
{% load markdown_deux_tags %}
{% load thumbnail %}
{% load chunks %}

{% block blurb %}{% static_placeholder "projects blurb" %}{% endblock %}


{% block main %}
<div class="row">
  {% static_placeholder "projects intro" %}
</div>
{% for project in object_list %}
<div class="row">
  <div class="profile">
    <span class="image">
      {% thumbnail project.picture "116" as im %}
        <img src="{{ im.url }}" alt="" />
      {% endthumbnail %}
    </span>
    <h3 class="name">{{ project.name }}</h3>

    {{ project.teaser|markdown }}


    {% if project.twitter or project.sourcecode_url or project.homepage_url or project.forum_url %}
    <div class="meta">
      <div class="tab-content">

        {% if project.twitter %}
        <div role="tabpanel" class="tab-pane" id="{{project.name|slugify}}-twitter">
          <h4>Twitter:</h4>
          <a href="https://twitter.com/{{project.twitter}}"> {{ project.twitter }} </a>
        </div>
        {% endif %}

        {% if project.homepage_url %}
        <div role="tabpanel" class="tab-pane" id="{{project.name|slugify}}-home">
          <h4>Homepage:</h4>
          <a href="{{ project.homepage_url }}"> {{ project.homepage_url }}</a>
        </div>
        {% endif %}
<commit_msg>Link to project homepage from image<commit_after>{% extends "cms_apphook.html" %}
{% load i18n %}
{% load cms_tags %}
{% load markdown_deux_tags %}
{% load thumbnail %}
{% load chunks %}

{% block blurb %}{% static_placeholder "projects blurb" %}{% endblock %}


{% block main %}
<div class="row">
  {% static_placeholder "projects intro" %}
</div>
{% for project in object_list %}
<div class="row">
  <div class="profile">
    <a class="image" href="{{ project.homepage_url | default:'#' }}">
        {% thumbnail project.picture "116" as im %}
          <img src="{{ im.url }}" alt="" />
        {% endthumbnail %}
    </a>
    <h3 class="name">{{ project.name }}</h3>

    {{ project.teaser|markdown }}


    {% if project.twitter or project.sourcecode_url or project.homepage_url or project.forum_url %}
    <div class="meta">
      <div class="tab-content">

        {% if project.twitter %}
        <div role="tabpanel" class="tab-pane" id="{{project.name|slugify}}-twitter">
          <h4>Twitter:</h4>
          <a href="https://twitter.com/{{project.twitter}}"> {{ project.twitter }} </a>
        </div>
        {% endif %}

        {% if project.homepage_url %}
        <div role="tabpanel" class="tab-pane" id="{{project.name|slugify}}-home">
          <h4>Homepage:</h4>
          <a href="{{ project.homepage_url }}"> {{ project.homepage_url }}</a>
        </div>
        {% endif %}

{'fraction_non_alphanumeric': 0.197136563876652, 'fraction_numerical': 0.008076358296622614, 'mean_word_length': 2.9378612716763004, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, 'https://': 2, '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': '2560477', 'n_tokens_mistral': 964, 'n_tokens_neox': 865, 'n_words': 192}