Skip to content

Commit

Permalink
Merge pull request #106 from andresterba/word-count
Browse files Browse the repository at this point in the history
Support word count on article
  • Loading branch information
not-matthias authored Feb 15, 2025
2 parents e299a7e + aa8772d commit b808209
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/macros/macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ <h1 class="title">
:: <time>{{ page.reading_time }}</time> Min Read
{% endif %}

{% if page.word_count %}
:: {{ page.word_count }} Words
{% endif %}

{# Inline display of tags directly after the date #}
{% if page.taxonomies and page.taxonomies.tags %}
<span class="tags-label"> :: Tags:</span>
Expand Down

0 comments on commit b808209

Please sign in to comment.