<commit_before>- content_for :page_title do
  = site_hostname

- content_for :header_tags do
  %link{ rel: 'canonical', href: about_url }/
  = render partial: 'shared/og'

.landing
  .landing__brand
    = link_to root_url, class: 'brand' do
      = image_pack_tag 'logo_full.svg', alt: 'Mastodon'
      %span.brand__tagline=t 'about.tagline'

  .landing__grid
    .landing__grid__column.landing__grid__column-registration
      .box-widget
        = render 'registration'

      .directory
        .directory__tag{ class: Setting.profile_directory ? nil : 'disabled' }
          = optional_link_to Setting.profile_directory, explore_path do
            %h4
              = fa_icon 'address-book fw'
              = t('about.discover_users')
              %small= t('about.browse_directory')

            .avatar-stack
              - @instance_presenter.sample_accounts.each do |account|
                = image_tag current_account&.user&.setting_auto_play_gif ? account.avatar_original_url : account.avatar_static_url, width: 48, height: 48, alt: '', class: 'account__avatar'

        .directory__tag{ class: Setting.timeline_preview ? nil : 'disabled' }
          = optional_link_to Setting.timeline_preview, public_timeline_path do
            %h4
              = fa_icon 'globe fw'
              = t('about.see_whats_happening')
              %small= t('about.browse_public_posts')

        .directory__tag<commit_msg>Do not show timeline preview or directory widgets if they are disabled (#10284)<commit_after>- content_for :page_title do
  = site_hostname

- content_for :header_tags do
  %link{ rel: 'canonical', href: about_url }/
  = render partial: 'shared/og'

.landing
  .landing__brand
    = link_to root_url, class: 'brand' do
      = image_pack_tag 'logo_full.svg', alt: 'Mastodon'
      %span.brand__tagline=t 'about.tagline'

  .landing__grid
    .landing__grid__column.landing__grid__column-registration
      .box-widget
        = render 'registration'

      .directory
        - if Setting.profile_directory
          .directory__tag
            = optional_link_to Setting.profile_directory, explore_path do
              %h4
                = fa_icon 'address-book fw'
                = t('about.discover_users')
                %small= t('about.browse_directory')

              .avatar-stack
                - @instance_presenter.sample_accounts.each do |account|
                  = image_tag current_account&.user&.setting_auto_play_gif ? account.avatar_original_url : account.avatar_static_url, width: 48, height: 48, alt: '', class: 'account__avatar'

        - if Setting.timeline_preview
          .directory__tag
            = optional_link_to Setting.timeline_preview, public_timeline_path do
              %h4
                = fa_icon 'globe fw'
                = t('about.see_whats_happening')
                %small= t('about.browse_public_posts')

        .directory__tag
{'fraction_non_alphanumeric': 0.09456671251719395, 'fraction_numerical': 0.005845942228335626, 'mean_word_length': 2.4589774078478004, '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': '4913573', 'n_tokens_mistral': 925, 'n_tokens_neox': 877, 'n_words': 173}