How to truncate blog post written in Chinese
ruixinxu opened this issue · comments
Ruixin Xu commented
@hmfaysal your template is really strong and beautiful, bug i met a question that my blogs are all written in Chinese, it seems the {{ post.content | strip_html | truncatewords:100 }} doesn't work for Chinese, so I got my whole blogs appear on my blog homepage, any tips to solve this would be appreciate.
Matija Čupić commented
This was probably fixed in: Liquid Issue #166
There's also a helper gem: Here
Also this is not directly related to the theme, so I'm closing the issue.