Merge pull request #50 from welpo/feature/word-number-on-reading-time-hover
🥚 feature: add tooltip on reading time to show number of words
This commit is contained in:
commit
3d7a662ac8
@ -119,11 +119,10 @@
|
||||
•
|
||||
{% endif %}
|
||||
|
||||
<span> {{ page.reading_time }} minute read{% if page.taxonomies and page.taxonomies.tags %} {%
|
||||
endif %}</span>
|
||||
<span title="{{ page.word_count }} words">{{ page.reading_time }} min read{% if page.taxonomies and page.taxonomies.tags %} • {%endif %}</span>
|
||||
|
||||
{% if page.taxonomies and page.taxonomies.tags %}
|
||||
<nav class="nav tags"> • Categories:
|
||||
<nav class="nav tags">Categories:
|
||||
{% for tag in page.taxonomies.tags %}
|
||||
<a href={{ get_taxonomy_url(kind='tags' , name=tag) | safe }}>{{ tag }}</a>{% if not loop.last %},
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user