<commit_before>{% extends "page.twig" %}

{% block page_content %}
    <div class="container">

        <div class="row">
            <div class="box">
                <div class="col-lg-12">
                    <hr>
                    <h2 class="intro-text text-center">{{ record.title }}</h2>
                    <p>{{ record.description }}</p>
                    <hr>
                </div>

                <div class="photos">
                    {% setcontent photos = "fotos" where { album_id: record.id } orderby 'datepublish ASC' %}
                    {% for photo in photos %}
                        <a class="col-sm-2 text-center photo" rel="album" href="{{ photo.url }}">
                            <img class="img-responsive" src="{{ photo.thumb_url }}" alt="{{ photo.title }}">
                            {#<h3>{{ record.title }}</h3>#}
                            {#<p>{{ record.description }}</p>#}
                        </a>
                    {% endfor %}
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>

    </div>
    <!-- /.container -->

{% endblock %}

{% block css %}
    <link href="/fancybox/source/jquery.fancybox.css" rel="stylesheet">
{% endblock %}

{% block javascript %}
    {{ parent() }}
    <script src="/fancybox/lib/jquery.mousewheel-3.0.6.pack.js" type="text/javascript"></script>
    <script src="/fancybox/source/jquery.fancybox.pack.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            $('.photo').fancybox();
        });
    </script>
{% endblock %}
<commit_msg>Show up to 1000 photo's<commit_after>{% extends "page.twig" %}

{% block page_content %}
    <div class="container">

        <div class="row">
            <div class="box">
                <div class="col-lg-12">
                    <hr>
                    <h2 class="intro-text text-center">{{ record.title }}</h2>
                    <p>{{ record.description }}</p>
                    <hr>
                </div>

                <div class="photos">
                    {% setcontent photos = "fotos" where { album_id: record.id } orderby 'datepublish ASC' limit 1000 %}
                    {% for photo in photos %}
                        <a class="col-sm-2 text-center photo" rel="album" href="{{ photo.url }}">
                            <img class="img-responsive" src="{{ photo.thumb_url }}" alt="{{ photo.title }}">
                            {#<h3>{{ record.title }}</h3>#}
                            {#<p>{{ record.description }}</p>#}
                        </a>
                    {% endfor %}
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>

    </div>
    <!-- /.container -->

{% endblock %}

{% block css %}
    <link href="/fancybox/source/jquery.fancybox.css" rel="stylesheet">
{% endblock %}

{% block javascript %}
    {{ parent() }}
    <script src="/fancybox/lib/jquery.mousewheel-3.0.6.pack.js" type="text/javascript"></script>
    <script src="/fancybox/source/jquery.fancybox.pack.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            $('.photo').fancybox();
        });
    </script>
{% endblock %}

{'fraction_non_alphanumeric': 0.183661119515885, 'fraction_numerical': 0.008472012102874432, 'mean_word_length': 1.5294567712318285, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '7630927', 'n_tokens_mistral': 1023, 'n_tokens_neox': 923, 'n_words': 184}