add reading time
This commit is contained in:
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>
|
||||
Reference in New Issue
Block a user