Skip to content

Commit

Permalink
Feature reading time test on dev (#84)
Browse files Browse the repository at this point in the history
* Allow Gutenberg core blocks

* Update reading time reading_time_for_display

---------

Co-authored-by: kbgreenpeace <[email protected]>
Co-authored-by: Ashley Towner <[email protected]>
  • Loading branch information
3 people authored Jan 14, 2025
1 parent 0acaf33 commit c153aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/single.twig
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
</address>
{% endif %}
<time class="single-post-time" pubdate>{{ post.post_date|date }}</time>
{% set reading_time = post.reading_time %}
{% set reading_time = post.reading_time_for_display %}
{% if reading_time %}
<span class="single-post-meta-bullet" aria-hidden="true">&#8226;</span>
<span class="single-post-meta-readtime">
Expand Down

0 comments on commit c153aec

Please sign in to comment.