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

Support reading_speed language param in single.html #801

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

D14rn
Copy link

@D14rn D14rn commented Nov 23, 2024

This PR makes it possible to configure the reading speed in specific languages by adding a configuration like the one in the https://gohugo.io/methods/page/readingtime/ method page

example configuration that will be supported:

[languages.en.params]
reading_speed = 256

It doesn't necessarily solve an important problem because you can just override the theme's single.html file to achieve the same result, but maybe it would be nice to support reading_speed configuration out of the box.

Copy link

netlify bot commented Nov 23, 2024

Deploy Preview for ananke-theme ready!

Name Link
🔨 Latest commit 8576335
🔍 Latest deploy log https://app.netlify.com/sites/ananke-theme/deploys/674249c076857a0008af8b42
😎 Deploy Preview https://deploy-preview-801--ananke-theme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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.

1 participant