Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add number of minutes to read: list + content #103

Merged
merged 1 commit into from
Aug 1, 2022
Merged

Add number of minutes to read: list + content #103

merged 1 commit into from
Aug 1, 2022

Conversation

alcazar90
Copy link
Contributor

@alcazar90 alcazar90 commented Jan 18, 2022

Implement the number of minutes to read, ideas in this post. Add the following line of code after the date in partial/content.html and partial/li.html to add the feature in each post.

       / {{ math.Round (div (countwords .Content) 220.0) }} MIN READ

Preview:

image

image

@shenoydotme shenoydotme merged commit 22581c2 into shenoydotme:master Aug 1, 2022
@alcazar90 alcazar90 deleted the min_read branch August 1, 2022 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants