<commit_before>extends base.jade

block head
	+h.load("/template/css/categories.css")

block title
	title= "Categories - " + site.title

block content
	categories = d.get_data(type='folder', sort='position', limit=99, level=1, excludes=["_", "template", "configs", "comments"])
	
	#categories: .page_wrap: .pure-g.cat_list
		for mycategory in categories
			.category
				category_url = '/category/%s'%mycategory.path
				cover_src = mycategory.cover or '/fb_static/unsplash/1.jpg'
				a.pic(href=category_url)
					span(style="background-image:url({{cover_src}})")
				h2
					a(href=category_url)= "[ %s ]"%mycategory.title
				.category_description= mycategory.content.limit(999, keep_images=False)<commit_msg>:bike:<commit_after>extends base.jade

block head
    +h.load("/template/css/categories.css")

block title
    title= "Categories - " + site.title

block content
    categories = d.get_data(type='folder', sort='position', limit=99, level=1, excludes=["_", "template", "configs", "comments"])
    
    #categories: .page_wrap: .pure-g.cat_list
        for mycategory in categories
            .category
                category_url = '/category/%s'%mycategory.path
                cover_src = mycategory.cover or '/fb_static/unsplash/1.jpg'
                a.pic(href=category_url)
                    span(style="background-image:url({{cover_src}})")
                h2
                    a(href=category_url)= "[ %s ]"%mycategory.title
                .category_description= mycategory.content.limit(999, keep_images=False)
{'fraction_non_alphanumeric': 0.14443721535458687, 'fraction_numerical': 0.01040988939492518, 'mean_word_length': 3.213698630136986, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3166670', 'n_tokens_mistral': 528, 'n_tokens_neox': 479, 'n_words': 87}