i'm used nodeBB with Template.js.
Today i had problem.
I'm have made Custom 'Tpl'. Two Type Category Style. (list , grid Style)
It's located in '/partial/topic_list.tpl' , '/partial/topic_list_grid.tpl' .
so That is used in Category.tpl. ( ' templates/category.tpl' )
<!-- IF isGridCategory -->
<!-- IMPORT partial/topic_list_grid.tpl -->
<!-- ELSE -->
<!-- IMPORT partial/topic_list.tpl -->
<!-- ENDIF isGridCategory -->
I want to operate normally "IF Sentence"
But It isn't.
Please see the following URL.
It is source in my project.