aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/yoga/index.tpl28
-rw-r--r--template/yoga/mainpage_categories.tpl27
2 files changed, 28 insertions, 27 deletions
diff --git a/template/yoga/index.tpl b/template/yoga/index.tpl
index 062a99061..35d65f6fd 100644
--- a/template/yoga/index.tpl
+++ b/template/yoga/index.tpl
@@ -231,33 +231,7 @@
</ul>
<!-- END thumbnails -->
-<!-- BEGIN categories -->
-<ul class="thumbnailCategories">
- <!-- BEGIN category -->
- <li>
- <div class="thumbnailCategory">
- <div class="illustration">
- <a href="{categories.category.URL}">
- <img src="{categories.category.SRC}"
- alt="{categories.category.ALT}"
- title="{categories.category.TITLE}">
- </a>
- </div>
- <div class="description">
- <h3>
- {categories.category.ICON}
- <a href="{categories.category.URL}">{categories.category.NAME}</a>
- </h3>
- <p>{categories.category.NB_IMAGES} {lang:pictures}</p>
- <p>{categories.category.DESCRIPTION}</p>
- </div>
- <hr class="separation" />
- </div>
- </li>
- <!-- END category -->
-</ul>
-<hr class="separation" />
-<!-- END categories -->
+{CATEGORIES}
<!-- BEGIN cat_infos -->
<!-- BEGIN navigation -->
diff --git a/template/yoga/mainpage_categories.tpl b/template/yoga/mainpage_categories.tpl
new file mode 100644
index 000000000..de0ed498e
--- /dev/null
+++ b/template/yoga/mainpage_categories.tpl
@@ -0,0 +1,27 @@
+<!-- BEGIN categories -->
+<ul class="thumbnailCategories">
+ <!-- BEGIN category -->
+ <li>
+ <div class="thumbnailCategory">
+ <div class="illustration">
+ <a href="{categories.category.URL}">
+ <img src="{categories.category.SRC}"
+ alt="{categories.category.ALT}"
+ title="{categories.category.TITLE}">
+ </a>
+ </div>
+ <div class="description">
+ <h3>
+ {categories.category.ICON}
+ <a href="{categories.category.URL}">{categories.category.NAME}</a>
+ </h3>
+ <p>{categories.category.NB_IMAGES} {lang:pictures}</p>
+ <p>{categories.category.DESCRIPTION}</p>
+ </div>
+ <hr class="separation" />
+ </div>
+ </li>
+ <!-- END category -->
+</ul>
+<hr class="separation" />
+<!-- END categories -->