<commit_before><!DOCTYPE html>
<html lang="{{ config.lang }}" class="no-js">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    {% if NOINDEX %}
    <meta name="robots" content="noindex">
    {% endif %}
    {% if title %}
        {% set page_title = title %}
    {% else %}
        {% set page_title = site[hook].title %}
    {% endif %}

    {% set page_title = site.shared.title_format | replace("PAGE_TITLE", page_title) %}
    {% set cover_image = ["https://", site.hostname, "/icon-512.png" ] | join %}
    {% set cover_image_alt = site.shared.eslint_logo_alt %}
    {% set page_desc = site.shared.description %}
    {% set relative_page_url = page.url | url | prettyURL %}
    {% set page_url = ["https://", site.hostname, relative_page_url ] | join %}

    <!-- SEO -->
    <title>{{ page_title }}</title>
    <meta name="description" content="{{ page_desc }}">
    <link rel="canonical" href="{{page_url}}">

    <!-- favicon -->
    <link rel="icon" href="/favicon.ico" sizes="any"><!-- 32×32 -->
    <link rel="icon" href="/icon.svg" type="image/svg+xml">
    <link rel="apple-touch-icon" href="/apple-touch-icon.png"><!-- 180×180 -->
    <link rel="manifest" href="/manifest.webmanifest">
<commit_msg>docs: Add base href to each page to fix relative URLs (#16046)<commit_after><!DOCTYPE html>
<html lang="{{ config.lang }}" class="no-js">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    {% if NOINDEX %}
    <meta name="robots" content="noindex">
    {% endif %}
    {% if title %}
        {% set page_title = title %}
    {% else %}
        {% set page_title = site[hook].title %}
    {% endif %}

    {% set page_title = site.shared.title_format | replace("PAGE_TITLE", page_title) %}
    {% set cover_image = ["https://", site.hostname, "/icon-512.png" ] | join %}
    {% set cover_image_alt = site.shared.eslint_logo_alt %}
    {% set page_desc = site.shared.description %}
    {% set relative_page_url = page.url | url | prettyURL %}
    {% set page_url = ["https://", site.hostname, relative_page_url ] | join %}

    <!-- SEO -->
    <title>{{ page_title }}</title>
    <meta name="description" content="{{ page_desc }}">
    <link rel="canonical" href="{{ page_url }}">
    
    <!-- https://github.com/eslint/eslint/issues/15844 -->
    <base href="{{ relative_page_url }}">

    <!-- favicon -->
    <link rel="icon" href="/favicon.ico" sizes="any"><!-- 32×32 -->
    <link rel="icon" href="/icon.svg" type="image/svg+xml">
    <link rel="apple-touch-icon" href="/apple-touch-icon.png"><!-- 180×180 -->
    <link rel="manifest" href="/manifest.webmanifest">

{'fraction_non_alphanumeric': 0.2096317280453258, 'fraction_numerical': 0.014872521246458924, 'mean_word_length': 3.2673716012084593, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 5, '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': '5432902', 'n_tokens_mistral': 1022, 'n_tokens_neox': 914, 'n_words': 192}