<commit_before>-macro tile_content(tile)
- if tile.image
  .crop
    %img(src = tile.image, title = tile.image_attribution)
- if tile.plain_content
  %div(class = tile.element_class)
    .inner-box
      - if tile.display_title
        %h1 = tile.title
      %div = tile.plain_content
- elseif tile.posts_category
  %div(class = "#{tile.element_class} categoryarchive")
    / recent news go here - not implemented yet
- elseif tile.title or tile.subtitle or tile.blurb
  %div(class = [ 'feature-info', ('noblurb' unless tile.blurb) ])
    - if tile.title or tile.subtitle
      .feature-key-info
        - if tile.target_event.month and tile.target_event.day
          .feature-date
            .month = tile.target_event.month
            .day = tile.target_event.day
      %header
        - if tile.title
          .feature-title = tile.title
        - if tile.subtitle
          .feature-caption = tile.subtitle
      - if tile.blurb
        .feature-blurb = tile.blurb
    #contentarea.twelvecol
      .flexslider
        %ul.slides
          - for slide_content in slides
            %li
              .slide-inner.row
                - for slide_column in slide_content.columns
                  %div(class = "#{slide_column.layout} column")
                    - for tile in slide_column.tiles
                      %div(id = "slidetile-#{tile.id}", class = "tile #{tile.element_class}")
                        - if tile.target_uri
                          %a( href = tile.target_uri)
                            = _self.tile_content(tile)
                        - else
                          = _self.tile_content(tile)<commit_msg>fixed HAML syntax<commit_after>-macro tile_content(tile)
  - if tile.image
    .crop
      %img(src = tile.image title = tile.image_attribution)
  - if tile.plain_content
    %div(class = tile.element_class)
      .inner-box
        - if tile.display_title
          %h1 = tile.title
        %div = tile.plain_content|raw
  - elseif tile.posts_category
    %div(class = "#{tile.element_class} categoryarchive")
      / recent news go here - not implemented yet
  - elseif tile.title or tile.subtitle or tile.blurb
    %div(class = [ 'feature-info', 'noblurb' ])
      - if tile.title or tile.subtitle
        .feature-key-info
          - if tile.target_event.month and tile.target_event.day
            .feature-date
              .month = tile.target_event.month
              .day = tile.target_event.day
        %header
          - if tile.title
            .feature-title = tile.title
          - if tile.subtitle
            .feature-caption = tile.subtitle
        - if tile.blurb
          .feature-blurb = tile.blurb|raw
.flexslider
  %ul.slides
    - for slide_content in slides
      %li
        .slide-inner.row
          - for slide_column in slide_content.columns
            %div(class = "#{slide_column.layout} column")
              - for tile in slide_column.tiles
                %div(id = "slidetile-#{tile.id}" class = "tile #{tile.element_class}")
                  - if tile.target_uri
                    %a( href = tile.target_uri)
                      = _self.tile_content(tile)
                  - else
                    = _self.tile_content(tile)
{'fraction_non_alphanumeric': 0.10152126668736418, 'fraction_numerical': 0.0006209251785159888, 'mean_word_length': 1.649671052631579, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3819650', 'n_tokens_mistral': 961, 'n_tokens_neox': 948, 'n_words': 204}