<commit_before>!!! 5
%html
  %head
    -if block('title')
      %title #{ block('title')|trim } ~ #{i18n('common.name')}
      %meta(property="og:title" content="#{block('title')|trim}")
      %meta(name="twitter:title" content="#{block('title')|trim}")
    -else
      %title #{i18n('common.name')} ~ #{i18n('common.tagline-title')}
      %meta(property="og:title" content="#{i18n('common.name')}")
      %meta(name="twitter:title" content="#{i18n('common.name')}")

    -if block('description')
      %meta(name="description" content="#{block('description')|trim}")
      %meta(property="og:description" content="#{block('description')|trim}")
      %meta(name="twitter:description" conent="#{block('description')|trim}")
    -else
      %meta(name="description" content="#{i18n('common.desc')}")
      %meta(property="og:description" content="#{i18n('common.desc-social')}")
      %meta(name="twitter:description" conent="#{i18n('common.desc-social')}")

    -if block('image')
      %meta(property="og:image" content="#{url(block('image')|trim)}")
      %meta(name="twitter:image" content="#{url(block('image')|trim)}")
    -else
      %meta(property="og:image" content="#{url('/assets/img/og.jpg')}")
      %meta(name="twitter:image" content="#{url('/assets/img/og.jpg')}")


    %meta(property="og:locale" content="#{lang}")
    %meta(property="og:url" content="#{currentUrl}")

    -if block('wistia_og')
      %meta(name="twitter:card" content="player")
      %meta(name="twitter:player" content="https://fast.wistia.net/embed/iframe/#{block('wistia_og')|trim}?twitter=true")
      %meta(name="twitter:player:width" content="400")
      %meta(name="twitter:player:height" content="224")
    -else
      %meta(name="twitter:card" content="summary_large_image")
    %meta(name="twitter:site" content="@studentrnd")
    %meta(name="twitter:creator" content="@studentrnd")
    %meta(name="keywords" content="#{i18n('common.keywords')}")

    %link(rel="apple-touch-icon" type="image/png" href="/assets/img/favicon.png")
    %link(rel="apple-touch-icon" type="image/png" sizes="72x72" href="/assets/img/favicon.png")
    %link(rel="apple-touch-icon" type="image/png" sizes="114x114" href="/assets/img/favicon.png")
    %link(rel="icon" type="image/png" href="/assets/img/favicon.png")

    %link(rel="stylesheet" href="/assets/css/style.css?v=#{version}")
    %meta(name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1")
<commit_msg>Use secure URLs<commit_after>!!! 5
%html
  %head
    -if block('title')
      %title #{ block('title')|trim } ~ #{i18n('common.name')}
      %meta(property="og:title" content="#{block('title')|trim}")
      %meta(name="twitter:title" content="#{block('title')|trim}")
    -else
      %title #{i18n('common.name')} ~ #{i18n('common.tagline-title')}
      %meta(property="og:title" content="#{i18n('common.name')}")
      %meta(name="twitter:title" content="#{i18n('common.name')}")

    -if block('description')
      %meta(name="description" content="#{block('description')|trim}")
      %meta(property="og:description" content="#{block('description')|trim}")
      %meta(name="twitter:description" conent="#{block('description')|trim}")
    -else
      %meta(name="description" content="#{i18n('common.desc')}")
      %meta(property="og:description" content="#{i18n('common.desc-social')}")
      %meta(name="twitter:description" conent="#{i18n('common.desc-social')}")

    -if block('image')
      %meta(property="og:image" content="#{secure_url(block('image')|trim)}")
      %meta(name="twitter:image" content="#{secure_url(block('image')|trim)}")
    -else
      %meta(property="og:image" content="#{secure_url('/assets/img/og.jpg')}")
      %meta(name="twitter:image" content="#{secure_url('/assets/img/og.jpg')}")


    %meta(property="og:locale" content="#{lang}")
    %meta(property="og:url" content="#{currentUrl}")

    -if block('wistia_og')
      %meta(name="twitter:card" content="player")
      %meta(name="twitter:player" content="https://fast.wistia.net/embed/iframe/#{block('wistia_og')|trim}?twitter=true")
      %meta(name="twitter:player:width" content="400")
      %meta(name="twitter:player:height" content="224")
    -else
      %meta(name="twitter:card" content="summary_large_image")
    %meta(name="twitter:site" content="@studentrnd")
    %meta(name="twitter:creator" content="@studentrnd")
    %meta(name="keywords" content="#{i18n('common.keywords')}")

    %link(rel="apple-touch-icon" type="image/png" href="/assets/img/favicon.png")
    %link(rel="apple-touch-icon" type="image/png" sizes="72x72" href="/assets/img/favicon.png")
    %link(rel="apple-touch-icon" type="image/png" sizes="114x114" href="/assets/img/favicon.png")
    %link(rel="icon" type="image/png" href="/assets/img/favicon.png")

    %link(rel="stylesheet" href="/assets/css/style.css?v=#{version}")
    %meta(name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1")

{'fraction_non_alphanumeric': 0.23465266558966075, 'fraction_numerical': 0.01494345718901454, 'mean_word_length': 5.612817089452603, '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': '4527885', 'n_tokens_mistral': 1732, 'n_tokens_neox': 1688, 'n_words': 182}