<commit_before>{% extends "base.html" %}
{% set active_page = "support" %}

{% block content %}
<div class="row">
    <div class="span12">
        <h1>Ooops, Something's wrong</h1>
        <p class="lead">It looks as though we have broken something on our system, sorry</p>
        <p class="lead">We will try to fix it as soon as we can!</p>

        <a id="btnHome" href="{{url_for('home')}}" class="btn btn-large" style="display:none;"> 
            <i class="icon-home"></i>
            Go Home
        </a>
        <a id="btnBack" href="#" class="btn btn-large" onclick="history.back()" style="display:none;"> 
            <i class="icon-arrow-left"></i>
            Go Back</a>
    </div>
</div>
<script>
    console.log(history.length);
    if (history.length > 1) {
        $("#btnBack").show();
    }
    else {
        $("#btnHome").show();
    }

</script>
{% endblock %}<commit_msg>Fix rendering for 500 page error<commit_after>{% extends "base.html" %}
{% set active_page = "support" %}

{% block content %}
<div class="row">
    <div class="span12">
        <h1>Ooops, Something's wrong</h1>
        <p class="lead">It looks as though we have broken something on our system, sorry</p>
        <p class="lead">We will try to fix it as soon as we can!</p>

        <a id="btnHome" href="{{url_for('home.home')}}" class="btn btn-large" style="display:none;"> 
            <i class="icon-home"></i>
            Go Home
        </a>
        <a id="btnBack" href="#" class="btn btn-large" onclick="history.back()" style="display:none;"> 
            <i class="icon-arrow-left"></i>
            Go Back</a>
    </div>
</div>
<script>
    console.log(history.length);
    if (history.length > 1) {
        $("#btnBack").show();
    }
    else {
        $("#btnHome").show();
    }

</script>
{% endblock %}
{'fraction_non_alphanumeric': 0.19701986754966888, 'fraction_numerical': 0.00717439293598234, 'mean_word_length': 2.53411306042885, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 45, 'https://': 0, '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': '6770881', 'n_tokens_mistral': 623, 'n_tokens_neox': 587, 'n_words': 153}