<commit_before>{% extends "inc/layout.html" %}
{% block titletags -%}
  <title>{{ config['SITE_TITLE'] }}</title>
  <meta name="DC.title" content="{{ config['SITE_TITLE'] }}"/>
{%- endblock %}

{% block pageheaders %}
{%- if jobtype %}<link rel="alternate" type="application/atom+xml"  title="{{ jobtype.title }} – {{ config['SITE_TITLE']|e }}" href="{{ url_for('feed_by_type', name=jobtype.name) }}" />{% endif -%}
{%- if jobcategory %}<link rel="alternate" type="application/atom+xml"  title="{{ jobcategory.title }} – {{ config['SITE_TITLE']|e }}" href="{{ url_for('feed_by_category', name=jobcategory.name) }}" />{% endif -%}
{%- if md5sum %}<link rel="alternate" type="application/atom+xml" title="Jobs at {{ employer_name }} – {{ config['SITE_TITLE'] }}" href="{{ url_for('feed_by_email', md5sum=md5sum) }}" />{% endif -%}
{%- if domain %}<link rel="alternate" type="application/atom+xml" title="Jobs at {{ employer_name }} – {{ config['SITE_TITLE'] }}" href="{{ url_for('feed_by_domain', domain=domain) }}" />{% endif -%}
{% endblock %}

{% block header %}
  <p id="pitch">
    HasGeek reaches out to thousands of developers via events, blogs and discussion groups.
    Job listings made here reach the entire network. <a href="{{ url_for('newjob')|usessl }}">Post a job &rarr;</a>
  </p>
{% endblock %}

{% block content %}
  {# {% include "inc/logo.html" %} #}
  <ul id="stickie-area">
    {% if jobtype or jobcategory %}
      <li id="filtered" class="stickie">
        <a href="{{ url_for('index') }}">
          <span class="filtered">
            You are viewing
            {% if jobtype %}{{ jobtype.title.lower() }}{% endif %}
            {% if jobcategory %}{{ jobcategory.title.lower() }}{% endif %}
            jobs. View all jobs?
          </span>
        </a>
      </li>
    {%- elif domain %}
      <li id="filtered" class="stickie">
        <a href="{{ url_for('index') }}">
          <span class="filtered">
            You are viewing jobs at {{ domain }}. View all jobs?
          </span>
        </a>
      </li>
    {%- elif md5sum %}
      <li id="filtered" class="stickie">
        <a href="{{ url_for('index') }}">
          <span class="filtered">
            You are viewing jobs at {{ employer_name }}. View all jobs?
          </span>
        </a>
      </li>
    {%- else -%}
      <li id="newpost" class="stickie">
        <form action="{{ url_for('newjob')|usessl }}" method="POST">
          <input type="hidden" name="_charset_"/>
          <input type="hidden" name="form.id" value="newheadline"/>
          <label id="newpost_title" for="newpost_headline">Post a job:</label>
          <textarea id="newpost_headline" name="job_headline" class="expand">Awesome Coder wanted at Awesome Company</textarea>
          <div id="newpost_details"><input type="submit" value="Add details &rarr;"/></div>
        </form>
      </li>
{#-      <li id="stickiead" class="stickie">
        <a href="http://metarefresh.in/2013/" target="_blank"><img src="{{ url_for('static', filename='img/banner.png') }}"></a>
      </li> #}
    {%- endif -%}
    {%- if grouped %}
      {%- for grouping, group in grouped.items() -%}{%- with post = group[0] -%}
        {%- if group|length == 1 -%}
          <li class="stickie">
            <a href="{{ url_for('jobdetail', hashid=post.hashid) }}" rel="bookmark">
              {%- if post.sticky %}<span class="sticky">Sticky!</span>{% endif %}
              <span class="location">{{ post.location }}</span>
              <span class="date">{{ post.datetime|shortdate }}</span>
              <span class="headline">{{ post.headline }}</span>
              <span class="company">{{ post.company_name }}</span>
              {%- if now - post.datetime < newlimit -%}
                <span class="new">New!
                {%- if siteadmin %} {{ post.viewcounts.applied }}/{{ post.viewcounts.opened }}/{{ post.viewcounts.all }}{% endif -%}
                </span>
              {%- else %}
                {%- if siteadmin %}<span class="count">{{ post.viewcounts.applied }}/{{ post.viewcounts.opened }}/{{ post.viewcounts.all }}</span>{% endif %}
              {%- endif %}
            </a>
          </li>
        {%- else -%}
          <li class="stickie grouped">
            <a href="
                {%- if grouping[0] in ['sd', 'nd'] -%}
                  {{ url_for('browse_by_domain', domain=grouping[1]) }}
                {%- elif grouping[0] in ['se', 'ne'] -%}
                  {{ url_for('browse_by_email', md5sum=grouping[1]) }}
                {%- endif -%}">
              {%- if post.sticky %}<span class="sticky">Sticky!</span>{% endif %}
              <span class="location">{{ post.location }}</span>
              <span class="date">{{ post.datetime|shortdate }}</span>
              <span class="headline">{{ post.headline }}</span>
              <span class="company">{{ post.company_name }}</span>
              {%- if now - post.datetime < newlimit -%}
                <span class="new">New!
                {%- if siteadmin %} {{ post.viewcounts.applied }}/{{ post.viewcounts.opened }}/{{ post.viewcounts.all }}{% endif -%}
                </span>
              {%- else %}
                {%- if siteadmin %}<span class="count">{{ post.viewcounts.applied }}/{{ post.viewcounts.opened }}/{{ post.viewcounts.all }}</span>{% endif %}
              {%- endif %}
            </a>
            {%- for post in group[1:] -%}
              <div class="stickie grouped under">
                {%- if post.sticky %}<span class="sticky">Sticky!</span>{% endif %}
                <span class="location">{{ post.location }}</span>
                <span class="date">{{ post.datetime|shortdate }}</span>
                <span class="headline">{{ post.headline }}</span>
                <span class="company">{{ post.company_name }}</span>
                {%- if now - post.datetime < newlimit -%}
                  <span class="new">New!
                  {%- if siteadmin %} {{ post.viewcounts.applied }}/{{ post.viewcounts.opened }}/{{ post.viewcounts.all }}{% endif -%}
                  </span>
                {%- else %}
                  {%- if siteadmin %}<span class="count">{{ post.viewcounts.applied }}/{{ post.viewcounts.opened }}/{{ post.viewcounts.opened }}/{{ post.viewcounts.all }}</span>{% endif %}
                {%- endif %}
              </div>
            {%- endfor %}
          </li>
        {%- endif %}
      {%- endwith -%}{%- endfor -%}
    {%- else %}
      {%- for post in posts -%}
        <li class="stickie">
          <a href="{{ url_for('jobdetail', hashid=post.hashid) }}" rel="bookmark"><commit_msg>Don't display stats twice.<commit_after>{% extends "inc/layout.html" %}
{% block titletags -%}
  <title>{{ config['SITE_TITLE'] }}</title>
  <meta name="DC.title" content="{{ config['SITE_TITLE'] }}"/>
{%- endblock %}

{% block pageheaders %}
{%- if jobtype %}<link rel="alternate" type="application/atom+xml"  title="{{ jobtype.title }} – {{ config['SITE_TITLE']|e }}" href="{{ url_for('feed_by_type', name=jobtype.name) }}" />{% endif -%}
{%- if jobcategory %}<link rel="alternate" type="application/atom+xml"  title="{{ jobcategory.title }} – {{ config['SITE_TITLE']|e }}" href="{{ url_for('feed_by_category', name=jobcategory.name) }}" />{% endif -%}
{%- if md5sum %}<link rel="alternate" type="application/atom+xml" title="Jobs at {{ employer_name }} – {{ config['SITE_TITLE'] }}" href="{{ url_for('feed_by_email', md5sum=md5sum) }}" />{% endif -%}
{%- if domain %}<link rel="alternate" type="application/atom+xml" title="Jobs at {{ employer_name }} – {{ config['SITE_TITLE'] }}" href="{{ url_for('feed_by_domain', domain=domain) }}" />{% endif -%}
{% endblock %}

{% block header %}
  <p id="pitch">
    HasGeek reaches out to thousands of developers via events, blogs and discussion groups.
    Job listings made here reach the entire network. <a href="{{ url_for('newjob')|usessl }}">Post a job &rarr;</a>
  </p>
{% endblock %}

{% block content %}
  {# {% include "inc/logo.html" %} #}
  <ul id="stickie-area">
    {% if jobtype or jobcategory %}
      <li id="filtered" class="stickie">
        <a href="{{ url_for('index') }}">
          <span class="filtered">
            You are viewing
            {% if jobtype %}{{ jobtype.title.lower() }}{% endif %}
            {% if jobcategory %}{{ jobcategory.title.lower() }}{% endif %}
            jobs. View all jobs?
          </span>
        </a>
      </li>
    {%- elif domain %}
      <li id="filtered" class="stickie">
        <a href="{{ url_for('index') }}">
          <span class="filtered">
            You are viewing jobs at {{ domain }}. View all jobs?
          </span>
        </a>
      </li>
    {%- elif md5sum %}
      <li id="filtered" class="stickie">
        <a href="{{ url_for('index') }}">
          <span class="filtered">
            You are viewing jobs at {{ employer_name }}. View all jobs?
          </span>
        </a>
      </li>
    {%- else -%}
      <li id="newpost" class="stickie">
        <form action="{{ url_for('newjob')|usessl }}" method="POST">
          <input type="hidden" name="_charset_"/>
          <input type="hidden" name="form.id" value="newheadline"/>
          <label id="newpost_title" for="newpost_headline">Post a job:</label>
          <textarea id="newpost_headline" name="job_headline" class="expand">Awesome Coder wanted at Awesome Company</textarea>
          <div id="newpost_details"><input type="submit" value="Add details &rarr;"/></div>
        </form>
      </li>
{#-      <li id="stickiead" class="stickie">
        <a href="http://metarefresh.in/2013/" target="_blank"><img src="{{ url_for('static', filename='img/banner.png') }}"></a>
      </li> #}
    {%- endif -%}
    {%- if grouped %}
      {%- for grouping, group in grouped.items() -%}{%- with post = group[0] -%}
        {%- if group|length == 1 -%}
          <li class="stickie">
            <a href="{{ url_for('jobdetail', hashid=post.hashid) }}" rel="bookmark">
              {%- if post.sticky %}<span class="sticky">Sticky!</span>{% endif %}
              <span class="location">{{ post.location }}</span>
              <span class="date">{{ post.datetime|shortdate }}</span>
              <span class="headline">{{ post.headline }}</span>
              <span class="company">{{ post.company_name }}</span>
              {%- if now - post.datetime < newlimit -%}
                <span class="new">New!
                {%- if siteadmin %} {{ post.viewcounts.applied }}/{{ post.viewcounts.opened }}/{{ post.viewcounts.all }}{% endif -%}
                </span>
              {%- else %}
                {%- if siteadmin %}<span class="count">{{ post.viewcounts.applied }}/{{ post.viewcounts.opened }}/{{ post.viewcounts.all }}</span>{% endif %}
              {%- endif %}
            </a>
          </li>
        {%- else -%}
          <li class="stickie grouped">
            <a href="
                {%- if grouping[0] in ['sd', 'nd'] -%}
                  {{ url_for('browse_by_domain', domain=grouping[1]) }}
                {%- elif grouping[0] in ['se', 'ne'] -%}
                  {{ url_for('browse_by_email', md5sum=grouping[1]) }}
                {%- endif -%}">
              {%- if post.sticky %}<span class="sticky">Sticky!</span>{% endif %}
              <span class="location">{{ post.location }}</span>
              <span class="date">{{ post.datetime|shortdate }}</span>
              <span class="headline">{{ post.headline }}</span>
              <span class="company">{{ post.company_name }}</span>
              {%- if now - post.datetime < newlimit -%}
                <span class="new">New!
                {%- if siteadmin %} {{ post.viewcounts.applied }}/{{ post.viewcounts.opened }}/{{ post.viewcounts.all }}{% endif -%}
                </span>
              {%- else %}
                {%- if siteadmin %}<span class="count">{{ post.viewcounts.applied }}/{{ post.viewcounts.opened }}/{{ post.viewcounts.all }}</span>{% endif %}
              {%- endif %}
            </a>
            {%- for post in group[1:] -%}
              <div class="stickie grouped under">
                {%- if post.sticky %}<span class="sticky">Sticky!</span>{% endif %}
                <span class="location">{{ post.location }}</span>
                <span class="date">{{ post.datetime|shortdate }}</span>
                <span class="headline">{{ post.headline }}</span>
                <span class="company">{{ post.company_name }}</span>
                {%- if now - post.datetime < newlimit -%}
                  <span class="new">New!
                  {%- if siteadmin %} {{ post.viewcounts.applied }}/{{ post.viewcounts.opened }}/{{ post.viewcounts.all }}{% endif -%}
                  </span>
                {%- else %}
                  {%- if siteadmin %}<span class="count">{{ post.viewcounts.applied }}/{{ post.viewcounts.opened }}/{{ post.viewcounts.all }}</span>{% endif %}
                {%- endif %}
              </div>
            {%- endfor %}
          </li>
        {%- endif %}
      {%- endwith -%}{%- endfor -%}
    {%- else %}
      {%- for post in posts -%}
        <li class="stickie">
          <a href="{{ url_for('jobdetail', hashid=post.hashid) }}" rel="bookmark">
{'fraction_non_alphanumeric': 0.2084594430992736, 'fraction_numerical': 0.002421307506053269, 'mean_word_length': 2.2331213307240705, 'pattern_counts': {'":': 0, '<': 213, '<?xml version=': 0, '>': 207, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '5187597', 'n_tokens_mistral': 4440, 'n_tokens_neox': 4055, 'n_words': 879}