<commit_before>doctype html

head
  meta name="viewport" content="width=device-width, initial-scale=1.0"
  == csrf_meta_tag(:name => 'csrf-token')
  link rel="stylesheet" type="text/css" href=asset_path("application.css")

body
  .navbar.navbar-static-top
    .navbar-inner
      .brand
        - if current_user
          a href==current_user.entity = current_user.entity.sub(%r{\Ahttps?://([^/]+).*?\z}) { |m| $1 }
        - else
          a href='https://tent.is' Tent.is

      ul.nav
        - if current_user
          li
            a href=full_path('/') Posts
          li
            a href=full_path('/followers') Followers
          li
            a href=full_path('/followings') Following
          li
            a href=full_path('/admin') Account
        - else
          li
            a href='https://tent.is/blog' Blog

      ul.nav.pull-right
        - if current_user
          li
            a href=full_path('/signout') Signout
        - else
          li
            a href='https://tent.is/login' Login
          li
            a href='https://tent.is/signup' Signup

  .container#main
    == yield if block_given?

  javascript:
    var StatusApp = {
      api_root: "#{{full_path('/api')}}",<commit_msg>Guest users are logged in<commit_after>doctype html

head
  meta name="viewport" content="width=device-width, initial-scale=1.0"
  == csrf_meta_tag(:name => 'csrf-token')
  link rel="stylesheet" type="text/css" href=asset_path("application.css")

body
  .navbar.navbar-static-top
    .navbar-inner
      .brand
        - if current_user || guest_user
          a href==(current_user || guest_user).entity = domain_entity.sub(%r{\Ahttps?://([^/]+).*?\z}) { |m| $1 }
        - else
          a href='https://tent.is' Tent.is

      ul.nav
        - if current_user || guest_user
          li
            a href=full_path('/') Posts
          li
            a href=full_path('/followers') Followers
          li
            a href=full_path('/followings') Following
          li
            a href=full_path('/admin') Account
        - else
          li
            a href='https://tent.is/blog' Blog

      ul.nav.pull-right
        - if current_user || guest_user
          li
            a href=full_path('/signout') Signout
        - else
          li
            a href='https://tent.is/login' Login
          li
            a href='https://tent.is/signup' Signup

  .container#main
    == yield if block_given?

  javascript:
    var StatusApp = {
      api_root: "#{{full_path('/api')}}",
{'fraction_non_alphanumeric': 0.1392857142857143, 'fraction_numerical': 0.002380952380952381, 'mean_word_length': 1.8073496659242763, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 8, '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': '1071448', 'n_tokens_mistral': 813, 'n_tokens_neox': 789, 'n_words': 161}