mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

budparr
04.40.2018 fd22513cf1e1a6b6c9983b41cc5737b8585eca1d
refs
author budparr <budparr@gmail.com>
Sunday, November 4, 2018 04:40 +0100
committer budparr <budparr@gmail.com>
Sunday, November 4, 2018 04:40 +0100
commitfd22513cf1e1a6b6c9983b41cc5737b8585eca1d
tree c81a286c73a39f3375f27869c229f3ff457fd64f tree | zip | gz
parent 329facc53e863496255fd70dc42724aca441c9a5 view | diff
Add optional reading time/word count indication

via PR #134 @looer

Added config variable so this doesn't show up

Show "reading time" and "word count" but only if one of the following are true:
1) A global config `params` value is set `show_reading_time = true`
2) A section front matter value is set `show_reading_time = true`
3) A page front matter value is set `show_reading_time = true`
1 files modified
13 ■■■■■ changed files
layouts/_default/single.html 13 ●●●●● diff | view | raw | blame | history