diff options
Diffstat (limited to 'themes/default/layouts/partials/meta-read-time.html')
-rw-r--r-- | themes/default/layouts/partials/meta-read-time.html | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/themes/default/layouts/partials/meta-read-time.html b/themes/default/layouts/partials/meta-read-time.html deleted file mode 100644 index b3b1839..0000000 --- a/themes/default/layouts/partials/meta-read-time.html +++ /dev/null @@ -1,10 +0,0 @@ -{{- $seconds := mul (div .WordCount 180.0) 60.0 -}} -{{- $seconds = printf "%.0f" $seconds -}} - -{{- if eq $seconds "0" -}} - {{- $seconds = "1" -}} -{{- end -}} - -<read-time title="Takes {{ $seconds }} second{{- if not (eq $seconds "1") -}}s{{- end }} to read"> - {{ $seconds }} sec -</read-time> |