diff options
author | Thedro Neely <thedroneely@gmail.com> | 2021-03-25 01:53:40 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2021-03-25 01:53:40 -0400 |
commit | a2b5c55f5ed6e45db3afb948de068c8e14871215 (patch) | |
tree | cce0ed27c91715c10e4e892a440571afcd931cda /generators | |
parent | 49a6f85969d3cc0b8c3150c7e328fdaef48539bf (diff) | |
download | thedroneely.com-a2b5c55f5ed6e45db3afb948de068c8e14871215.tar.gz thedroneely.com-a2b5c55f5ed6e45db3afb948de068c8e14871215.tar.bz2 thedroneely.com-a2b5c55f5ed6e45db3afb948de068c8e14871215.zip |
generators/hugo/layouts/partials/read-time: Use singular
Diffstat (limited to 'generators')
-rw-r--r-- | generators/hugo/themes/tdro/layouts/partials/read-time.html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/generators/hugo/themes/tdro/layouts/partials/read-time.html b/generators/hugo/themes/tdro/layouts/partials/read-time.html index 128bc56..d935f91 100644 --- a/generators/hugo/themes/tdro/layouts/partials/read-time.html +++ b/generators/hugo/themes/tdro/layouts/partials/read-time.html @@ -1,6 +1,2 @@ {{ $minutes := div .WordCount 150 }} -{{ if lt $minutes 1 }} - less than 1 min read -{{ else }} - {{ $minutes }} min read -{{ end }} +{{ if lt $minutes 1 }} 1 minute read {{ else }} {{ $minutes }} minute read {{ end }} |