themes: add reading time counter

blog-move
Jae Lo Presti 2 weeks ago
parent 9df0a7a40a
commit 07bcaf25c1
Signed by: jae
SSH Key Fingerprint: SHA256:hmKix/+XG+9GEGHgDdiqXfmB2O7BU4CPVOoQoIYIQ2Y
  1. 1
      themes/maintheme/layouts/_default/single.html

@ -37,6 +37,7 @@
</div>
<div class="cpage">
<div class="mainPage">
<small>Estimated reading time: {{ math.Round (div (countwords .Content) 220.0) }} minute(s)</small>
{{ .Content }}
</div>
{{ partial "navigation.html" . }}

Loading…
Cancel
Save