Merge pull request #50 from welpo/feature/word-number-on-reading-time-hover

🥚 feature: add tooltip on reading time to show number of words
main
Óscar 2 years ago committed by GitHub
commit 3d7a662ac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -119,11 +119,10 @@
{% endif %}
<span> {{ page.reading_time }} minute read{% if page.taxonomies and page.taxonomies.tags %}&nbsp;{%
endif %}</span>
<span title="{{ page.word_count }} words">{{ page.reading_time }} min read{% if page.taxonomies and page.taxonomies.tags %}&nbsp;&nbsp;{%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…
Cancel
Save