<commit_before><?php snippet_detect('html-head', array(
	// 'criticalcss' => 'other_than_default',
)); ?>

	<?php snippet('banner'); ?>

	<main role="main" class="contain-padding">

		<h1 class="beta-heading"><?php echo $page->title()->smartypants(); ?></h1>

		<div>
			<?php echo $page->intro()->kirbytext(); ?>
		</div>

		<div class="grid grid--gutter">
			<?php foreach ($series as $series_item) : ?>

				<?php $series_item_image = ($series_item->images()->filterBy('filename','*=','main')->first()) ? $series_item->images()->filterBy('filename','*=','main')->first() : $series_item->images()->sortBy('sort', 'asc')->first(); ?>

				<article class="grid__cell medium-1of2 wide-1of3 huge-1of5" id="<?php echo $series_item->slug(); ?>">
					<a href="<?php echo $series_item->url(); ?>">
						<h2 class="grid__title" href="<?php echo $series_item->url(); ?>"><a href="<?php echo $series_item->url(); ?>"><?php echo $series_item->title()->smartypants(); ?></a></h2>
						<?php if($series_item_image): ?>
							<figure>
								<?php echo $series_item_image->imageset('grid'); ?>
								<?php //echo $series_item_image; ?>
							</figure>
						<?php endif; ?>
					</a>
				</article>

			<?php endforeach; ?>
		</div>

	</main><commit_msg>Consistency.<commit_after><?php snippet_detect('html-head', array(
	// 'criticalcss' => 'other_than_default',
)); ?>

	<?php snippet('banner'); ?>

	<main role="main" class="contain-padding">

		<h1 class="beta-heading"><?php echo $page->title()->smartypants(); ?></h1>

		<div>
			<?php echo $page->intro()->kirbytext(); ?>
		</div>

		<div class="grid grid--gutter">
			<?php foreach ($page_items as $page_item) : ?>

				<?php $page_item_image = ($page_item->images()->filterBy('filename','*=','main')->first()) ? $page_item->images()->filterBy('filename','*=','main')->first() : $page_item->images()->sortBy('sort', 'asc')->first(); ?>

				<article class="grid__cell medium-1of2 wide-1of3 huge-1of5" id="<?php echo $page_item->slug(); ?>">
					<a href="<?php echo $page_item->url(); ?>">
						<h2 class="grid__title" href="<?php echo $page_item->url(); ?>"><a href="<?php echo $page_item->url(); ?>"><?php echo $page_item->title()->smartypants(); ?></a></h2>
						<?php if($page_item_image): ?>
							<figure>
								<?php echo $page_item_image->imageset('grid'); ?>
								<?php //echo $page_item_image; ?>
							</figure>
						<?php endif; ?>
					</a>
				</article>

			<?php endforeach; ?>
		</div>

	</main>
{'fraction_non_alphanumeric': 0.258989898989899, 'fraction_numerical': 0.00808080808080808, 'mean_word_length': 4.179916317991632, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 113, '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': '5598251', 'n_tokens_mistral': 992, 'n_tokens_neox': 843, 'n_words': 153}