<commit_before><div class="l-box">
  <h1>
    Viewing albums by
    <%= (@user) ? link_to(@user.username, @user) : 'everyone' %>.
  </h1>
</div>

<div class="pure-u-1 tiles">
  <div class="l-box">
    <% @albums.each do |album| %>
      <%= link_to album do %>
        <div class="tile" id="tile_<%= album.key %>">
          <%= image_tag(album.images.first.file.url(:thumb), class: 'float-left') %>
          <div class="l-box float-left">
            <h3><%= album.title.empty? ? 'Untitled album' : album.title %></h3><commit_msg>Do not show an image from album if album is empty<commit_after><div class="l-box">
  <h1>
    Viewing albums by
    <%= (@user) ? link_to(@user.username, @user) : 'everyone' %>.
  </h1>
</div>

<div class="pure-u-1 tiles">
  <div class="l-box">
    <% @albums.each do |album| %>
      <%= link_to album do %>
        <div class="tile" id="tile_<%= album.key %>">
          <% unless album.images.empty? %>
            <%= image_tag(album.images.first.file.url(:thumb), class: 'float-left') unless album.images.empty? %>
          <% end %>
          <div class="l-box float-left">
            <h3><%= album.title.empty? ? 'Untitled album' : album.title %></h3>
{'fraction_non_alphanumeric': 0.21308724832214765, 'fraction_numerical': 0.008389261744966443, 'mean_word_length': 2.728125, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '5913777', 'n_tokens_mistral': 455, 'n_tokens_neox': 428, 'n_words': 92}