Skip to content

Instantly share code, notes, and snippets.

@dublado
Last active June 29, 2021 15:20
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