<commit_before>
{% if itemlist|length > 0 %}
<div id="image_all">
	{% for i,item in itemlist %}
		<a data-toggle="lightbox" href="{{root}}image-1000/id/{{ item.id }}" data-type="image" data-gallery="galname"><img src="{{root}}image-50/id/{{ item.id }}" /></a>
	{% endfor %}
</div>
{% endif %}

{% if bookletimages|length > 0 %}



<button class="btn btn-trnsp toggle-content" data-toggle="#booklet-wrapper" data-text1="show booklet (beta)" data-text2="hide booklet (beta)">
	<i class="fa fa-plus"></i> show booklet (beta)
</button>

<div id="booklet-wrapper" style="display:none;">
	<nav>
		<a id="bb-nav-prev" href="#" class="bb-custom-icon bb-custom-icon-arrow-left"><commit_msg>hide thumbnail of already displayed image in albumview<commit_after>
{% if itemlist|length > 1 %}
{# skip first image as we alread have it displayed big above the carousel#}
<div id="image_all">
	{% for i,item in itemlist %}
		{% if not loop.first %}
		<a data-toggle="lightbox" href="{{root}}image-1000/id/{{ item.id }}" data-type="image" data-gallery="galname"><img src="{{root}}image-50/id/{{ item.id }}" /></a>
		{% endif %}
	{% endfor %}
</div>
{% endif %}

{% if bookletimages|length > 0 %}
<button class="btn btn-trnsp toggle-content" data-toggle="#booklet-wrapper" data-text1="show booklet (beta)" data-text2="hide booklet (beta)">
	<i class="fa fa-plus"></i> show booklet (beta)
</button>

<div id="booklet-wrapper" style="display:none;">
	<nav>
		<a id="bb-nav-prev" href="#" class="bb-custom-icon bb-custom-icon-arrow-left">
{'fraction_non_alphanumeric': 0.2170184696569921, 'fraction_numerical': 0.013192612137203167, 'mean_word_length': 5.01984126984127, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 31, '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': '4920876', 'n_tokens_mistral': 595, 'n_tokens_neox': 537, 'n_words': 127}