<commit_before>mixin imgPreview
	each val in [1,2,3,4,5]
		img(src='/img/fikay-square.jpg', id='preview' + val)

mixin attach-doc
	each val in [1,2,]
		input(name='additionalFile' + val, type='file')

//- Repeat a block without writing inline JS
mixin times(limit)
	- for (var i = 1; i <= limit; i++) {
		block
	- }

mixin homepageGallery(designs)
	- var arraysOfThree = [];
	- var originalArray = designs;
	- var i = 0;
	- for (j=originalArray.length; i<j; i+=3) {
	- tempArray = originalArray.slice(i,i+3);
	- arraysOfThree.push(tempArray);
	- }

	each array in arraysOfThree
			.row
					each elem in array
						.col-md-4
							img.lazy.homepageImages(src=elem.mainImage.medium.url)
							a.paypal-img-logo(href="https://www.paypal.com/uk/webapps/mpp/home" class="paypal-img-logo">PayPal)

<commit_msg>make hompage images links to designs<commit_after>mixin imgPreview
	each val in [1,2,3,4,5]
		img(src='/img/fikay-square.jpg', id='preview' + val)

mixin attach-doc
	each val in [1,2,]
		input(name='additionalFile' + val, type='file')

//- Repeat a block without writing inline JS
mixin times(limit)
	- for (var i = 1; i <= limit; i++) {
		block
	- }

mixin homepageGallery(designs)
	- var arraysOfThree = [];
	- var originalArray = designs;
	- var i = 0;
	- for (j=originalArray.length; i<j; i+=3) {
	- tempArray = originalArray.slice(i,i+3);
	- arraysOfThree.push(tempArray);
	- }

	each array in arraysOfThree
			.row
					each elem in array
						.col-md-4
							a(href='/' + elem._id)
								img.lazy.homepageImages(src=elem.mainImage.medium.url)
								a.paypal-img-logo(href="https://www.paypal.com/uk/webapps/mpp/home" class="paypal-img-logo">PayPal)


{'fraction_non_alphanumeric': 0.1603830041891083, 'fraction_numerical': 0.01436265709156194, 'mean_word_length': 3.3769633507853403, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '770635', 'n_tokens_mistral': 717, 'n_tokens_neox': 643, 'n_words': 137}