Skip to content

Instantly share code, notes, and snippets.

@dublado
Last active December 20, 2024 22:41
Show Gist options
  • Save dublado/e62fda482405459fca993a5850b50af6 to your computer and use it in GitHub Desktop.
Save dublado/e62fda482405459fca993a5850b50af6 to your computer and use it in GitHub Desktop.
estimate read time calc hugo
<i>{{.ReadingTime}}{{if gt (mul .ReadingTime 60) 60}}minutes{{else}}minutes or less{{end}} reading</i>

formula
(add .WordCount 212) 213

.ReadingTime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment