<commit_before><!DOCTYPE html>
<html>
<head>
    <title></title>

    <link rel="stylesheet" type="text/css" href="/assets/vendor/bootstrap/dist/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="/assets/vendor/font-awesome/css/font-awesome.min.css" />
</head>
<body>

    <div class="container">

        <div class="page-header">
            <h1 id="blogroll-title"></h1>
        </div>

        <div class="row" id="blogroll-list"></div>

    </div>
    <script type="text/template" id="item-template">
        <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12" id="blog-link-{{count}}" data-href="{{link}}" style="cursor:pointer">
            <div class="panel panel-default">
                <div class="panel-heading">{{description}}</div>
                <div class="panel-body">
                    <div href="{{link}}" class="embed-responsive embed-responsive-4by3" target="_blank">
                        <iframe src="{{link}}" class="embed-responsive-item" style="overflow:hidden"></iframe>
                    </div>
                </div>
            </div>
        </div>
    </script>


    <script type="text/javascript" src="/assets/vendor/jquery/dist/jquery.min.js"></script>
    <script type="text/javascript" src="/assets/vendor/bootstrap/dist/js/bootstrap.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $.getJSON('bloglist.json', function (data) {
                var count = 0;

                $('#blogroll-title').html(data.name).append($('small').html(data.description));

                document.title = data.name;

                $.each(data.blogs, function (link, desc) {
                    var template = $('#item-template').html();

                    desc = desc || 'Blog';
                    template = template.replace(/\{\{count\}\}/g, count)
                                .replace(/\{\{link\}\}/g, link)
                                .replace(/\{\{description\}\}/g, desc);

                    $(template).appendTo('#blogroll-list');
                });
            });

            $('#blogroll-list').on('click', 'div[id*=blog-link]', function () {
                var href = $(this).data('href');

                window.open(href);
            });
        });
    </script>
</body>
</html>
<commit_msg>fix bug with blogroll description not loading<commit_after><!DOCTYPE html>
<html>
<head>
    <title></title>

    <link rel="stylesheet" type="text/css" href="/assets/vendor/bootstrap/dist/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="/assets/vendor/font-awesome/css/font-awesome.min.css" />
</head>
<body>

    <div class="container">

        <div class="page-header">
            <h1 id="blogroll-title"></h1>
        </div>

        <div class="row" id="blogroll-list"></div>

    </div>
    <script type="text/template" id="item-template">
        <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12" id="blog-link-{{count}}" data-href="{{link}}" style="cursor:pointer">
            <div class="panel panel-default">
                <div class="panel-heading">{{description}}</div>
                <div class="panel-body">
                    <div href="{{link}}" class="embed-responsive embed-responsive-4by3" target="_blank">
                        <iframe src="{{link}}" class="embed-responsive-item" style="overflow:hidden"></iframe>
                    </div>
                </div>
            </div>
        </div>
    </script>


    <script type="text/javascript" src="/assets/vendor/jquery/dist/jquery.min.js"></script>
    <script type="text/javascript" src="/assets/vendor/bootstrap/dist/js/bootstrap.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $.getJSON('bloglist.json', function (data) {
                var count = 0;

                $('#blogroll-title').html(data.name + '&nbsp;').append($('<small>').html(data.description));

                document.title = data.name;

                $.each(data.blogs, function (link, desc) {
                    var template = $('#item-template').html();

                    desc = desc || 'Blog';
                    template = template.replace(/\{\{count\}\}/g, count)
                                .replace(/\{\{link\}\}/g, link)
                                .replace(/\{\{description\}\}/g, desc);

                    $(template).appendTo('#blogroll-list');
                });
            });

            $('#blogroll-list').on('click', 'div[id*=blog-link]', function () {
                var href = $(this).data('href');

                window.open(href);
            });
        });
    </script>
</body>
</html>

{'fraction_non_alphanumeric': 0.1954169318905156, 'fraction_numerical': 0.004243581582855931, 'mean_word_length': 1.8831804281345565, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 0, '>': 82, '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': '6902479', 'n_tokens_mistral': 1412, 'n_tokens_neox': 1317, 'n_words': 215}