add reading time
This commit is contained in:
parent
33c18cc18c
commit
2f729cb8c3
7
layouts/_default/li.html
Normal file
7
layouts/_default/li.html
Normal file
@ -0,0 +1,7 @@
|
||||
<li>
|
||||
<a href="{{ .Permalink }}">
|
||||
{{ .Title }}
|
||||
</a>
|
||||
<small>{{ math.Round (div (countwords .Content) 220.0) }} minutes</small>
|
||||
-<small><time>{{ .Date.Format "Jan 2, 2006" }}</time></small>
|
||||
</li>
|
Loading…
Reference in New Issue
Block a user