aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/template/mainpage_categories.tpl
blob: 54a99ba4d7da0f65961c9ae8301e95d1974ab53e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{define_derivative name='derivative_params_square' type='square'}

<ul data-role="listview" data-inset="true">
{foreach from=$category_thumbnails item=cat}
	<li>
		<a href="{$cat.URL}">
		<img src="{$pwg->derivative_url($derivative_params_square, $cat.representative.src_image)}">
    <h3>{$cat.NAME}</h3>
		<p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p>
		</a>
  </li>
{/foreach}
</ul>