當在GitHub Pages上使用Minimal Mistakes作為Jekyll主題時,會遇到中文字數統計錯誤的問題,一整段話被統計為1個字。本篇文章將會簡單説明問題的來源和解決方案。 問題來源 Minimal Mistakes在_includes/page__meta.html中,使用了document.content | strip_html | number_of_words來計算