You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the reading analytics are derived from page.raw_content which is all content (including footnotes). In order to get the word count for just the main content, the footnotes will need to be differentiated from the rest of the contents in raw_content.
Bug Report
Environment
Zola version: 0.19.2
Expected Behavior
word_count and reading_time should not count footnotes.
Current Behavior
word_count and reading_time count the footnotes.
Step to reproduce
create a page then add and remove some footnotes, you'll see the change in the output for both functions.
The text was updated successfully, but these errors were encountered: