<commit_before>extends ../layout

include ../games/mixins

block body
	#container-inner
		h1 #{title}
		mixin do_games(games)

		- if(pages > 1)
			.pagination
				ul
					- if(page > 0)
						li
							a(href=baseurl+'/'+(page-1)) Prev
					- for(var i=0; i<pages; i++)
						li(class=(i == page ? 'active' : null))
							a(href=baseurl+'/'+i) #{i+1}
					- if(page < pages-1)
						li
							a(href=baseurl+'/'+(page+1)) Next<commit_msg>Making pagination nicer for browsing games.<commit_after>extends ../layout

include ../games/mixins

block body
	#container-inner
		h1 #{title}
		mixin do_games(games)

		- if(pages > 1)
			ul.pagination
				- if(page > 0)
					li
						a(href=baseurl+'/'+(page-1)) Prev
				- for(var i=0; i<pages; i++)
					li(class=(i == page ? 'active' : null))
						a(href=baseurl+'/'+i) #{i+1}
				- if(page < pages-1)
					li
						a(href=baseurl+'/'+(page+1)) Next
{'fraction_non_alphanumeric': 0.19084821428571427, 'fraction_numerical': 0.017857142857142856, 'mean_word_length': 2.4633204633204633, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3358049', 'n_tokens_mistral': 468, 'n_tokens_neox': 354, 'n_words': 73}