<commit_before>%footer.footer
  .container
    .row.menu
      .col-md-4
        %h6= t('footer.information')
        %ul
          %li
            =link_to about_path do
              %i.fa.fa-fw.fa-info.fa-1x
              %span= t('footer.about')
          %li
            =link_to instructions_path do
              %i.fa.fa-fw.fa-lightbulb-o.fa-1x
              %span= t('footer.instructions')
          %li
            =link_to contact_path do
              %i.fa.fa-fw.fa-envelope-o
              %span= t('footer.contact')

      .col-md-4
        %h6= t('footer.legal')
        %ul
          %li
            =link_to imprint_path do
              %i.fa.fa-fw.fa-legal
              %span= t('footer.imprint')
          %li
            =link_to terms_path do
              %i.fa.fa-fw.fa-check-square-o
              %span= t('footer.terms')

      .col-md-4
        %h6= t('footer.follow_us')
        %ul
          -Settings.social_media&.each do |sm|
            %li
              =link_to sm[:url] do
                %i{ class: "fa fa-fw #{sm[:fa_icon]} social-media-icon" }
                %span= sm[:text]

    -unless Settings.ui.nil? || Settings.ui.hide_fosterfork_link
      .row.fosterfork
        .col-md-12
          .center
            %p.small
              =link_to "https://github.com/FosterFork/FosterFork", target: :new do
                %i.fa.fa-tree
                %i.fa.fa-code-fork
<commit_msg>footer: fix link show logic<commit_after>%footer.footer
  .container
    .row.menu
      .col-md-4
        %h6= t('footer.information')
        %ul
          %li
            =link_to about_path do
              %i.fa.fa-fw.fa-info.fa-1x
              %span= t('footer.about')
          %li
            =link_to instructions_path do
              %i.fa.fa-fw.fa-lightbulb-o.fa-1x
              %span= t('footer.instructions')
          %li
            =link_to contact_path do
              %i.fa.fa-fw.fa-envelope-o
              %span= t('footer.contact')

      .col-md-4
        %h6= t('footer.legal')
        %ul
          %li
            =link_to imprint_path do
              %i.fa.fa-fw.fa-legal
              %span= t('footer.imprint')
          %li
            =link_to terms_path do
              %i.fa.fa-fw.fa-check-square-o
              %span= t('footer.terms')

      .col-md-4
        %h6= t('footer.follow_us')
        %ul
          -Settings.social_media&.each do |sm|
            %li
              =link_to sm[:url] do
                %i{ class: "fa fa-fw #{sm[:fa_icon]} social-media-icon" }
                %span= sm[:text]

    -unless Settings.ui && Settings.ui.hide_fosterfork_link
      .row.fosterfork
        .col-md-12
          .center
            %p.small
              =link_to "https://github.com/FosterFork/FosterFork", target: :new do
                %i.fa.fa-tree
                %i.fa.fa-code-fork

{'fraction_non_alphanumeric': 0.13396292409933544, 'fraction_numerical': 0.006995452955578874, 'mean_word_length': 1.2136222910216719, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5505780', 'n_tokens_mistral': 985, 'n_tokens_neox': 958, 'n_words': 162}