<commit_before>---
layout: default
---
{% include breadcrumbs.html parent="Datasets" %}
{% assign schema = page.schema | default: site.schema %}
{% assign dataset_fields = site.data.schemas[schema].dataset_fields %}
{% assign dataset_system_fields = "title|organization|notes" | split: "|" %}
{% assign resource_fields = site.data.schemas[schema].resource_fields %}
{% assign resource_system_fields = "name|url|format|description" | split: "|" %}

<div class="alert alert-success" role="alert" data-hook="alert-success" style="display: none;">
  This dataset has been <a href="#" data-hook="commit-url">saved</a> and the page is currently regenerating.
</div>

<div class="alert alert-danger" role="alert" data-hook="alert-error" style="display: none;">
  There was an error saving this page
</div>

{% assign organization = site.organizations | where:"title",page.organization | first %}
<div class="row" data-hook="read-view">
  {% if organization %}
  <div class="col-sm-3">
    <div class="panel panel-default">
      <div class="panel-heading">
        {% if organization.logo %}
        <a href="{{ site.baseurl }}/datasets/?organization={{ organization.title | slugify }}" class="thumbnail"><img src="{{ organization.logo }}" alt="{{ organization.title }} logo"></a>
        {% endif %}
      </div>
      <div class="panel-body">
        <h3><a href="{{ site.baseurl }}/datasets/?organization={{ organization.title | slugify }}">{{ organization.title }}</a></h3>
        {{ organization.description }}
      </div>
    </div><commit_msg>don't show org logo on dataset page if logo is empty string<commit_after>---
layout: default
---
{% include breadcrumbs.html parent="Datasets" %}
{% assign schema = page.schema | default: site.schema %}
{% assign dataset_fields = site.data.schemas[schema].dataset_fields %}
{% assign dataset_system_fields = "title|organization|notes" | split: "|" %}
{% assign resource_fields = site.data.schemas[schema].resource_fields %}
{% assign resource_system_fields = "name|url|format|description" | split: "|" %}

<div class="alert alert-success" role="alert" data-hook="alert-success" style="display: none;">
  This dataset has been <a href="#" data-hook="commit-url">saved</a> and the page is currently regenerating.
</div>

<div class="alert alert-danger" role="alert" data-hook="alert-error" style="display: none;">
  There was an error saving this page
</div>

{% assign organization = site.organizations | where:"title",page.organization | first %}
<div class="row" data-hook="read-view">
  {% if organization %}
  <div class="col-sm-3">
    <div class="panel panel-default">
      <div class="panel-heading">
        {% if organization.logo != "" %}
        <a href="{{ site.baseurl }}/datasets/?organization={{ organization.title | slugify }}" class="thumbnail"><img src="{{ organization.logo }}" alt="{{ organization.title }} logo"></a>
        {% endif %}
      </div>
      <div class="panel-body">
        <h3><a href="{{ site.baseurl }}/datasets/?organization={{ organization.title | slugify }}">{{ organization.title }}</a></h3>
        {{ organization.description }}
      </div>
    </div>
{'fraction_non_alphanumeric': 0.18427753023551877, 'fraction_numerical': 0.0019096117122851686, 'mean_word_length': 4.363481228668942, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '5791848', 'n_tokens_mistral': 969, 'n_tokens_neox': 907, 'n_words': 224}