<commit_before>{% extends "layout.html" %}
{% block styles %}
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='index.css') }}" />
{% endblock %}
{% block body %}
{% if not user %}
<p class="centered">Welcome to Kerbal Stuff! Want to know what we're all about?</p>
<p class="centered"><a href="/about" class="btn btn-info btn-lg">Check it out</a></p>
{% endif %}
{% if any(featured) %}
<div class="jumbotron" style="background-image: url('https://mediacru.sh{{ featured[0].mod.background }}')">
    <div class="inner">
        <h1>{{ featured[0].mod.name }}</h1>
        <h2>Featured Mod</h2>
        <p>{{ featured[0].mod.short_description }}</p>
        <p>
            <a href="/mod/{{ featured[0].mod.id }}/download/{{ featured[0].mod.versions[-1].friendly_version }}" class="btn btn-success btn-lg">Download</a>
            {% if user %}
            {% if following_mod(featured[0].mod) %}
            <a href="#" data-mod="{{ featured[0].mod.id }}" data-name="{{ featured[0].mod.name }}" class="btn btn-primary btn-lg unfollow-button">Unfollow</a>
            {% else %}
            <a href="#" data-mod="{{ featured[0].mod.id }}" data-name="{{ featured[0].mod.name }}" class="btn btn-primary btn-lg follow-button">Follow</a>
            {% endif %}
            {% endif %}
            <a href="/mod/{{ featured[0].mod.id }}" class="btn btn-default btn-lg">Details</a>
            {% if admin %}
            <a href="#" data-mod="{{ featured[0].mod.id }}" class="btn btn-danger btn-lg unfeature-button">Remove</a><commit_msg>Add btn-wide to download link on featured mod<commit_after>{% extends "layout.html" %}
{% block styles %}
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='index.css') }}" />
{% endblock %}
{% block body %}
{% if not user %}
<p class="centered">Welcome to Kerbal Stuff! Want to know what we're all about?</p>
<p class="centered"><a href="/about" class="btn btn-info btn-lg">Check it out</a></p>
{% endif %}
{% if any(featured) %}
<div class="jumbotron" style="background-image: url('https://mediacru.sh{{ featured[0].mod.background }}')">
    <div class="inner">
        <h1>{{ featured[0].mod.name }}</h1>
        <h2>Featured Mod</h2>
        <p>{{ featured[0].mod.short_description }}</p>
        <p>
            <a href="/mod/{{ featured[0].mod.id }}/download/{{ featured[0].mod.versions[-1].friendly_version }}" class="btn btn-success btn-lg btn-wide">Download</a>
            {% if user %}
            {% if following_mod(featured[0].mod) %}
            <a href="#" data-mod="{{ featured[0].mod.id }}" data-name="{{ featured[0].mod.name }}" class="btn btn-primary btn-lg unfollow-button">Unfollow</a>
            {% else %}
            <a href="#" data-mod="{{ featured[0].mod.id }}" data-name="{{ featured[0].mod.name }}" class="btn btn-primary btn-lg follow-button">Follow</a>
            {% endif %}
            {% endif %}
            <a href="/mod/{{ featured[0].mod.id }}" class="btn btn-default btn-lg">Details</a>
            {% if admin %}
            <a href="#" data-mod="{{ featured[0].mod.id }}" class="btn btn-danger btn-lg unfeature-button">Remove</a>
{'fraction_non_alphanumeric': 0.22440570522979397, 'fraction_numerical': 0.010776545166402536, 'mean_word_length': 3.093385214007782, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6678354', 'n_tokens_mistral': 1080, 'n_tokens_neox': 1009, 'n_words': 221}