{config_load file="lang/$language/lang_$language.conf" section="blog"}
{if $BLOG == 'true'}
	{if $blog_items}
	<div itemscope itemtype="http://schema.org/Article">
		<h1>{$cat_name}</h1>
		{foreach name=aussen item=module_data from=$blog_items}
			<div class="product_pad">
				<div class="datum">
					<p>
						<span class="monat">{$module_data.monat}</span>
						<span class="tag">{$module_data.tag}</span>
						<span class="jahr">{$module_data.jahr}</span>
					</p>
				</div>
				<h2 itemprop="name">
					<a itemprop="url" href="{$module_data.blog_link}">{$module_data.name}</a>
				</h2>
				<p itemprop="description">{$module_data.description}</p>
				{if $module_data.kommentare}
					<br>
					{#gesamt_comments#}{$module_data.kommentare}{#comments#}
					{if $module_data.date_update}
					<br>
					{#update_on#} {$module_data.date_update}
					{/if}
					{if $module_data.rating}
					<br>
					{#rating#} {$module_data.rating}
					{/if}
				{/if}
			</div>
			<br>		
		{/foreach}
	</div>
	{else}
		{#no_item#}
	{/if}
{elseif $START}
	<div class="product_info_name"><h1>Blog</h1></div>
	<div class="product_pad">{$TEXT}</div>
	{foreach name=aussen item=module_data from=$categories}
	<div class="product_pad">
		<h3><a href="{$module_data.CATEGORIE_LINK}">{$module_data.CATEGORIE_TITLE}</a></h3>
		{$module_data.CATEGORIE_DESCRIPTION}
	</div>
	{/foreach}
{else}
<div itemscope itemtype="http://schema.org/Article">
	<div class="datum">
		<p>
			<span class="monat">{$MONAT}</span>
			<span class="tag">{$TAG}</span>
			<span class="jahr">{$JAHR}</span>
		</p>
	</div>
	{if !$START}
	    <h1 itemprop="name" class="blog_name">{$NAME}</h1>
    {/if}
	<br class="clearfix">
	<p>{$TEXT}</p>
	<br class="clearfix">
	{if $MODULE_products_reviews}
		{$MODULE_products_reviews}
	{/if}
	<div id="socialshareprivacy"></div>
</div>
{/if}
