diff --git a/sass/parts/_misc.scss b/sass/parts/_misc.scss index 6c20ff8..6b93625 100644 --- a/sass/parts/_misc.scss +++ b/sass/parts/_misc.scss @@ -119,3 +119,11 @@ table td { table tbody tr:nth-child(even) { background-color: var(--bg-0); } + +.meta span:hover::before { + content: attr(word-count); +} + +.meta span::before { + content: attr(reading-time); +} diff --git a/templates/macros/macros.html b/templates/macros/macros.html index 404d252..9da8e94 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -119,7 +119,7 @@ • {% endif %} - {{ page.reading_time }} minute read{% if page.taxonomies and page.taxonomies.tags %} {% + {% if page.taxonomies and page.taxonomies.tags %} {% endif %} {% if page.taxonomies and page.taxonomies.tags %}