diff --git a/less/category.less b/less/category.less index ab69767..58b78f6 100644 --- a/less/category.less +++ b/less/category.less @@ -109,6 +109,10 @@ font-weight: bold; } } + + .subcategory { + margin-bottom: 10px; + } } .category, .categories, .subcategory { diff --git a/templates/categories.tpl b/templates/categories.tpl index f96a1b8..d1da411 100644 --- a/templates/categories.tpl +++ b/templates/categories.tpl @@ -12,6 +12,7 @@ {{{end}}} +
{{{each widgets.sidebar}}} diff --git a/templates/partials/category/subcategory.tpl b/templates/partials/category/subcategory.tpl index 01cec9e..86fbfcd 100644 --- a/templates/partials/category/subcategory.tpl +++ b/templates/partials/category/subcategory.tpl @@ -1,9 +1,14 @@ +{{{ if children.length }}}
-

[[category:subcategories]]

+

[[category:subcategories]]

-
\ No newline at end of file + {{{ if hasMoreSubCategories}}} + + {{{ end }}} +
+{{{ end }}} \ No newline at end of file diff --git a/templates/search.tpl b/templates/search.tpl index 46d150c..6f2ac42 100644 --- a/templates/search.tpl +++ b/templates/search.tpl @@ -48,9 +48,9 @@
- + {{{each allCategories}}} + {{{end}}} [[search:search-child-categories]]