hepochen / FarBox

FarBox 2.0 Core Framework
Other
168 stars 25 forks source link

site.count_folder returns 0 in Classify template #6

Closed portwatcher closed 2 years ago

portwatcher commented 3 years ago

https://github.com/hepochen/FarBox/blob/master/farbox_bucket/themes/Classify/index.jade#L25

posts_count remains 0 even category folder contains posts.

as a result, all category block has a "0 posts" span on homepage, like https://juryquinn.com

portwatcher commented 3 years ago

I simply remove this line and load the revised template as a tmp fix.

portwatcher commented 2 years ago

setting classify theme in admin resolves the issue