<commit_before>@(
title: String,
fullTitle: Option[String] = None,
active: Option[lila.app.ui.SiteMenu.Elem] = None,
baseline: Option[Html] = None,
side: Option[Html] = None,
menu: Option[Html] = None,
chat: Option[Html] = None,
underchat: Option[Html] = None,
robots: Boolean = true,
moreCss: Html = Html(""),
moreJs: Html = Html(""),
signedJs: Option[String] = None,
zen: Boolean = false,
openGraph: Map[Symbol, String] = Map.empty)(body: Html)(implicit ctx: Context)
<!doctype html>
<html lang="@lang.language">
  <head>
    <title>@if(!isProd){ [dev] }@fullTitle.getOrElse{@title • lichess.org}</title>
    @if(ctx.currentBg == "dark") {
    @cssTag("dark.css")
    }
    @cssTag("common.css")
    @cssTag("chessground.css")
    @cssTag("board.css")
    @moreCss
    <meta content="@openGraph.get('description).getOrElse(trans.freeOnlineChessGamePlayChessNowInACleanInterfaceNoRegistrationNoAdsNoPluginRequiredPlayChessWithComputerFriendsOrRandomOpponents())" name="description">
    <meta charset="utf-8">
    <link rel="shortcut icon" href="@staticUrl("images/favicon-32-white.png")" type="image/x-icon" />
    @if(!robots) {
    <meta content="noindex, nofollow" name="robots">
    }
    <meta name="google" content="notranslate" />
    @openGraph.map {
    case (key, value) => {
    <meta property="og:@key.name" content="@value" />
    }
    }
    <link href="@routes.Blog.atom()" type="application/atom+xml" rel="alternate" title="Latest blog posts" />
    @langAnnotations
  </head>
  <body class="base @List(
    ctx.currentTheme.cssClass,
    ctx.currentTheme3d.cssClass,
    ctx.currentBg,
    ctx.currentPieceSet,
    ctx.currentPieceSet3d,
    ctx.pref.highlight ?? "highlight",
    ctx.pref.destination ?? "destination",
    ctx.blindMode ?? "blind_mode",
    if (ctx.is3d) "is3d" else "is2d",
    "coords_" + ctx.pref.coords).mkString(" ")"
    data-piece-set="@ctx.currentPieceSet"
    data-static-url="@staticUrl("")"
    data-sound-dir="@staticUrl("sound")"
    data-ports="@portsString"
    data-accept-languages="@acceptLanguages.mkString(",")"><commit_msg>too bad, cloudflare won't cache sound files<commit_after>@(
title: String,
fullTitle: Option[String] = None,
active: Option[lila.app.ui.SiteMenu.Elem] = None,
baseline: Option[Html] = None,
side: Option[Html] = None,
menu: Option[Html] = None,
chat: Option[Html] = None,
underchat: Option[Html] = None,
robots: Boolean = true,
moreCss: Html = Html(""),
moreJs: Html = Html(""),
signedJs: Option[String] = None,
zen: Boolean = false,
openGraph: Map[Symbol, String] = Map.empty)(body: Html)(implicit ctx: Context)
<!doctype html>
<html lang="@lang.language">
  <head>
    <title>@if(!isProd){ [dev] }@fullTitle.getOrElse{@title • lichess.org}</title>
    @if(ctx.currentBg == "dark") {
    @cssTag("dark.css")
    }
    @cssTag("common.css")
    @cssTag("chessground.css")
    @cssTag("board.css")
    @moreCss
    <meta content="@openGraph.get('description).getOrElse(trans.freeOnlineChessGamePlayChessNowInACleanInterfaceNoRegistrationNoAdsNoPluginRequiredPlayChessWithComputerFriendsOrRandomOpponents())" name="description">
    <meta charset="utf-8">
    <link rel="shortcut icon" href="@staticUrl("images/favicon-32-white.png")" type="image/x-icon" />
    @if(!robots) {
    <meta content="noindex, nofollow" name="robots">
    }
    <meta name="google" content="notranslate" />
    @openGraph.map {
    case (key, value) => {
    <meta property="og:@key.name" content="@value" />
    }
    }
    <link href="@routes.Blog.atom()" type="application/atom+xml" rel="alternate" title="Latest blog posts" />
    @langAnnotations
  </head>
  <body class="base @List(
    ctx.currentTheme.cssClass,
    ctx.currentTheme3d.cssClass,
    ctx.currentBg,
    ctx.currentPieceSet,
    ctx.currentPieceSet3d,
    ctx.pref.highlight ?? "highlight",
    ctx.pref.destination ?? "destination",
    ctx.blindMode ?? "blind_mode",
    if (ctx.is3d) "is3d" else "is2d",
    "coords_" + ctx.pref.coords).mkString(" ")"
    data-sound-dir="@routes.Assets.at("sound")"
    data-ports="@portsString"
    data-accept-languages="@acceptLanguages.mkString(",")">
{'fraction_non_alphanumeric': 0.17888349514563107, 'fraction_numerical': 0.003883495145631068, 'mean_word_length': 4.629781420765028, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6178982', 'n_tokens_mistral': 1499, 'n_tokens_neox': 1442, 'n_words': 249}