<commit_before>{block header}

	{*<header class="homepage">*}
		{*<h1>{$knowledgebase->title}</h1>*}
	{*</header>*}

{/block}

{block content}

	{control search}

<div class="container" id="page">

	{foreach $categories as $categoryTag}

		<div class="row" n:tag-if="$iterator->getCounter() % 2 == 0">
			<div class="col-sm-6">

				<h2>
					<a n:href="Category: $categoryTag->name">{$categoryTag->name}</a>
				</h2>

				{foreach $categoryTag->related('article_tag')->where('article.language', $locale)->limit(5) as $tag}
					<h4>
						<a n:href="Detail:default $tag->article->id, $tag->article->slug, 'language' => $tag->article->language">
							{$tag->article->title}
						</a>
					</h4>
				{/foreach}


			</div>
		</div><commit_msg>Fix: homepage link to category is now to tag<commit_after>{block header}

	{*<header class="homepage">*}
		{*<h1>{$knowledgebase->title}</h1>*}
	{*</header>*}

{/block}

{block content}

	{control search}

<div class="container" id="page">

	{foreach $categories as $categoryTag}

		<div class="row" n:tag-if="$iterator->getCounter() % 2 == 0">
			<div class="col-sm-6">

				<h2>
					<a n:href="Tag: $categoryTag->name">{$categoryTag->name}</a>
				</h2>

				{foreach $categoryTag->related('article_tag')->where('article.language', $locale)->limit(5) as $tag}
					<h4>
						<a n:href="Detail:default $tag->article->id, $tag->article->slug, 'language' => $tag->article->language">
							{$tag->article->title}
						</a>
					</h4>
				{/foreach}


			</div>
		</div>
{'fraction_non_alphanumeric': 0.23386034255599472, 'fraction_numerical': 0.013175230566534914, 'mean_word_length': 3.7320872274143304, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 69, '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': '2972651', 'n_tokens_mistral': 668, 'n_tokens_neox': 554, 'n_words': 103}