Skip to content

Node.js based forum software built for the modern web

use categories.class instead of hardcoded columns

psychobunnyebf07626de2e
diff --git a/public/templates/home.tpl b/public/templates/home.tpl
index 13d7bd6caf..98ce2c7dcd 100644
--- a/public/templates/home.tpl
+++ b/public/templates/home.tpl
@@ -4,7 +4,7 @@
<div class="row home" itemscope itemtype="http://www.schema.org/ItemList">
<!-- BEGIN categories -->
- <div class="col-md-3 col-xs-6">
+ <div class="{categories.class}">
<a href="category/{categories.slug}" itemprop="url">
<meta itemprop="name" content="{categories.name}">
<h4><span class="badge {categories.badgeclass}">{categories.topic_count} </span> {categories.name}</h4>