<commit_before>{extends file='frontend/index/index.tpl'}

{block name='frontend_index_header'}
	{include file='frontend/listing/header.tpl'}
{/block}

{* Main content *}
{block name='frontend_index_content'}
<div class="content block">

	{* Banner *}
	{block name="frontend_listing_index_banner"}
		{include file='frontend/listing/banner.tpl'}
	{/block}
	
	{* Category headline *}
	{block name="frontend_listing_index_text"}
		{if !$hasEmotion && !$sSupplierInfo}
			{include file='frontend/listing/text.tpl'}
		{/if}

		{* Topseller *}
		{if !$hasEmotion && !$sSupplierInfo && {config name=topSellerActive}}
			{action module=widgets controller=listing action=top_seller sCategory=$sCategoryContent.id}
		{/if}
	{/block}
	
	{* Change / Logic move to controller *}
	{if $sCategoryContent.template eq "article_listing_1col.tpl"}
		{assign var="sTemplate" value="listing-1col"}
		{assign var="sBoxMode" value="list"}
	{elseif $sCategoryContent.template eq "article_listing_2col.tpl"}
		{assign var="sTemplate" value="listing-2col"}
		{assign var="sBoxMode" value="table"}
	{elseif $sCategoryContent.template eq "article_listing_3col.tpl"}
		{assign var="sTemplate" value="listing-3col"}
		{assign var="sBoxMode" value="table"}
	{elseif $sCategoryContent.template eq "article_listing_4col.tpl"}
		{assign var="sTemplate" value="listing"}
		{assign var="sBoxMode" value="table"}
	{else}
		{assign var="sTemplate" value="listing-3col"}
		{assign var="sBoxMode" value="table"}
	{/if}
	

	{* Listing *}
	{block name="frontend_listing_index_listing"}
		{include file='frontend/listing/listing.tpl' sTemplate=$sTemplate}

	    {if $sCategoryContent.parent != 1 && ! $showListing && !$sSupplierInfo}

            {* Further products in the category *}<commit_msg>SW-7855 Housekeeping<commit_after>{extends file='frontend/index/index.tpl'}

{block name='frontend_index_header'}
	{include file='frontend/listing/header.tpl'}
{/block}

{* Main content *}
{block name='frontend_index_content'}
<div class="content block">

	{* Banner *}
	{block name="frontend_listing_index_banner"}
		{include file='frontend/listing/banner.tpl'}
	{/block}
	
	{* Category headline *}
	{block name="frontend_listing_index_text"}
		{if !$hasEmotion && !$sSupplierInfo}
			{include file='frontend/listing/text.tpl'}
		{/if}

		{* Topseller *}
		{if !$hasEmotion && !$sSupplierInfo && {config name=topSellerActive}}
			{action module=widgets controller=listing action=top_seller sCategory=$sCategoryContent.id}
		{/if}
	{/block}
	
	{* Remap the template names to the new syntax *}
	{if $sCategoryContent.template eq "article_listing_1col.tpl"}
		{assign var="sTemplate" value="listing-1col"}
		{assign var="sBoxMode" value="list"}
	{elseif $sCategoryContent.template eq "article_listing_2col.tpl"}
		{assign var="sTemplate" value="listing-2col"}
		{assign var="sBoxMode" value="table"}
	{elseif $sCategoryContent.template eq "article_listing_3col.tpl"}
		{assign var="sTemplate" value="listing-3col"}
		{assign var="sBoxMode" value="table"}
	{elseif $sCategoryContent.template eq "article_listing_4col.tpl"}
		{assign var="sTemplate" value="listing"}
		{assign var="sBoxMode" value="table"}
	{else}
		{assign var="sTemplate" value="listing-3col"}
		{assign var="sBoxMode" value="table"}
	{/if}

	{* Listing *}
	{block name="frontend_listing_index_listing"}
		{include file='frontend/listing/listing.tpl' sTemplate=$sTemplate}

	    {if $sCategoryContent.parent != 1 && ! $showListing && !$sSupplierInfo}

            {* Further products in the category *}
{'fraction_non_alphanumeric': 0.15852272727272726, 'fraction_numerical': 0.00625, 'mean_word_length': 5.876953125, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5106414', 'n_tokens_mistral': 1312, 'n_tokens_neox': 1224, 'n_words': 228}