aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/mainpage_categories.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/template/mainpage_categories.tpl')
-rw-r--r--themes/default/template/mainpage_categories.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/template/mainpage_categories.tpl b/themes/default/template/mainpage_categories.tpl
index f4ff8f264..11dce56b8 100644
--- a/themes/default/template/mainpage_categories.tpl
+++ b/themes/default/template/mainpage_categories.tpl
@@ -8,8 +8,8 @@
}
{/html_style}{/strip}
<ul class="thumbnailCategories">
-{foreach from=$category_thumbnails item=cat}
- <li>
+{foreach from=$category_thumbnails item=cat name=cat_loop}
+ <li class="{if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
<div class="thumbnailCategory">
<div class="illustration">
<a href="{$cat.URL}">