<commit_before>{% extends '@Theme/jinya_gallery_default_theme/Frontend/base.html.twig' %}
{% block head_title %}
    &mdash; {{ gallery.name }}
{% endblock %}

{% block custom_meta %}
    {% if gallery.description is not empty %}
        <meta name="Description" content="{{ gallery.description }}">
    {% endif %}
{% endblock %}

{% block background %}
    {% if gallery.background is not empty %}
        <img src="{{ gallery.background }}" class="gallery background">
    {% else %}
        {{ parent() }}
    {% endif %}
{% endblock %}

{% block maincontent %}
    <div data-scroll
         class="gallery {{ gallery.orientation }}" id="gallery">
        {% for artworkPosition in gallery.artworks %}
            {% set artwork = artworkPosition.artwork %}
            <figure data-simplebar class="artwork">
                <a href="#{{ artwork.slug }}">
                    <img src="{{ artwork.picture }}" alt="{{ artwork.name }}">
                </a>
                <div class="lightbox" id="{{ artwork.slug }}">
                    <img src="{{ artwork.picture }}" alt="{{ artwork.name }}"/>
                    <div>
                        <h4>{{ artwork.name }}</h4>
                        {% if themeConfig.gallery.artwork.show_description %}
                            <p>{{ artwork.description }}</p>
                        {% endif %}
                    </div>
                    <a class="close" href="#gallery"></a>
                    <div class="share-bar">
                        {% set shareUrl = (get_url() ~ '#' ~ artwork.slug)|url_encode %}
                        {% if themeConfig.share.enable.facebook == true and themeConfig.share.facebook_app_id is not empty %}
                            <a href="https://www.facebook.com/sharer/sharer.php?u={{ shareUrl|url_encode }}"
                               target="_blank" class="share-button facebook">
                                {{ inline(theme.path ~ 'Frontend/assets/icons/facebook.svg')|raw }}
                            </a>
                        {% endif %}<commit_msg>Removed need for facebook app id for share<commit_after>{% extends '@Theme/jinya_gallery_default_theme/Frontend/base.html.twig' %}
{% block head_title %}
    &mdash; {{ gallery.name }}
{% endblock %}

{% block custom_meta %}
    {% if gallery.description is not empty %}
        <meta name="Description" content="{{ gallery.description }}">
    {% endif %}
{% endblock %}

{% block background %}
    {% if gallery.background is not empty %}
        <img src="{{ gallery.background }}" class="gallery background">
    {% else %}
        {{ parent() }}
    {% endif %}
{% endblock %}

{% block maincontent %}
    <div data-scroll
         class="gallery {{ gallery.orientation }}" id="gallery">
        {% for artworkPosition in gallery.artworks %}
            {% set artwork = artworkPosition.artwork %}
            <figure data-simplebar class="artwork">
                <a href="#{{ artwork.slug }}">
                    <img src="{{ artwork.picture }}" alt="{{ artwork.name }}">
                </a>
                <div class="lightbox" id="{{ artwork.slug }}">
                    <img src="{{ artwork.picture }}" alt="{{ artwork.name }}"/>
                    <div>
                        <h4>{{ artwork.name }}</h4>
                        {% if themeConfig.gallery.artwork.show_description %}
                            <p>{{ artwork.description }}</p>
                        {% endif %}
                    </div>
                    <a class="close" href="#gallery"></a>
                    <div class="share-bar">
                        {% set shareUrl = (get_url() ~ '#' ~ artwork.slug)|url_encode %}
                        {% if themeConfig.share.enable.facebook == true and themeConfig.share.facebook_app_id is not empty %}
                            <a href="https://www.facebook.com/sharer/sharer.php?u={{ shareUrl }}"
                               target="_blank" class="share-button facebook">
                                {{ inline(theme.path ~ 'Frontend/assets/icons/facebook.svg')|raw }}
                            </a>
                        {% endif %}
{'fraction_non_alphanumeric': 0.15816080885893116, 'fraction_numerical': 0.0009629272989889263, 'mean_word_length': 1.6498724489795917, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '17077', 'n_tokens_mistral': 1164, 'n_tokens_neox': 1028, 'n_words': 227}