mirror of
https://github.com/valentineus/popov.link.git
synced 2025-07-03 16:10:26 +03:00
Moved actual template site
This commit is contained in:
7
_includes/reading-time.html
Normal file
7
_includes/reading-time.html
Normal file
@ -0,0 +1,7 @@
|
||||
{% capture words %}
|
||||
{{ content | number_of_words | minus: 180 }}
|
||||
{% endcapture %}
|
||||
|
||||
{% unless words contains '-' %}
|
||||
{{ words | plus: 150 | divided_by: 150 | append: ' min read' }}
|
||||
{% endunless %}
|
Reference in New Issue
Block a user