<commit_before>.block{ :id => "#{block.title.parameterize}", :class => "#{block.final_classes}" }
  .block-inner
    .block-content
      - if !block.partial_name.blank?
        - begin
          = render block.partial_name, :block => block
        - rescue => e
          - Rails.logger.info "\n\t[# BLOCK ERROR]"
          - Rails.logger.info "\t\t#{e}"
          - Rails.logger.info "\t[/ BLOCK ERROR]\n"
          - if logged_in?
            Error: Content not found or malfunctioning. Please notify the site administrator.
          - else
            &nbsp;
      - else
        = render "dust/blocks/normal_block_content", :block => block
      - if permitted_to? :manage, :blocks
        .edit-link
          = link_to edit_icon("Block <br/>'#{block.title}'"), edit_dust_block_path(block, :return => request.fullpath), :class => "to-admin"
          = link_to delete_icon("Delete <br/>'#{block.title}'"), dust_block_path(block, :return => request.fullpath), :class => "to-admin", :confirm => "Are you sure?", :method => :delete<commit_msg>move edit-links out of the block-content<commit_after>.block{ :id => "#{block.title.parameterize}", :class => "#{block.final_classes}" }
  .block-inner
    .block-content
      - if !block.partial_name.blank?
        - begin
          = render block.partial_name, :block => block
        - rescue => e
          - Rails.logger.info "\n\t[# BLOCK ERROR]"
          - Rails.logger.info "\t\t#{e}"
          - Rails.logger.info "\t[/ BLOCK ERROR]\n"
          - if logged_in?
            Error: Content not found or malfunctioning. Please notify the site administrator.
          - else
            &nbsp;
      - else
        = render "dust/blocks/normal_block_content", :block => block
    - if permitted_to? :manage, :blocks
      .edit-link
        = link_to edit_icon("Block <br/>'#{block.title}'"), edit_dust_block_path(block, :return => request.fullpath), :class => "to-admin"
        = link_to delete_icon("Delete <br/>'#{block.title}'"), dust_block_path(block, :return => request.fullpath), :class => "to-admin", :confirm => "Are you sure?", :method => :delete
{'fraction_non_alphanumeric': 0.16185518220539516, 'fraction_numerical': 0.0, 'mean_word_length': 2.454248366013072, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 29, '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': '2350132', 'n_tokens_mistral': 660, 'n_tokens_neox': 639, 'n_words': 150}