Feature: add boxes with subcategories option for desktop categories page (#6471)

* Feature: add boxes with subcategories option for desktop categories page

* only add subclass div when subclasses exist
This commit is contained in:
Jeff Wong
2018-10-11 00:59:37 -07:00
committed by Régis Hanol
parent ddbed82bca
commit b5b382dcd6
5 changed files with 54 additions and 4 deletions

View File

@@ -12,6 +12,7 @@ class CategoryPageStyle < EnumSiteSetting
{ name: 'category_page_style.categories_with_featured_topics', value: 'categories_with_featured_topics' },
{ name: 'category_page_style.categories_and_latest_topics', value: 'categories_and_latest_topics' },
{ name: 'category_page_style.categories_and_top_topics', value: 'categories_and_top_topics' },
{ name: 'category_page_style.categories_boxes', value: 'categories_boxes' },
{ name: 'category_page_style.categories_boxes_with_topics', value: 'categories_boxes_with_topics' },
]
end