Skip to content

Commit

Permalink
placeholder for word count on content pages
Browse files Browse the repository at this point in the history
  • Loading branch information
drusepth committed Dec 2, 2022
1 parent bd975d1 commit f054db2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/views/content/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,16 @@
content: @serialized_content
}
%>

<!--
Enable this after the caches have all been busted/recomputed :)
<% if @serialized_content.cached_word_count && @serialized_content.cached_word_count > 0 %>
<div class="grey-text center">
<%= number_with_delimiter @serialized_content.cached_word_count %>
<%= 'word'.pluralize(@serialized_content.cached_word_count) %>
</div>
<% end %>
-->
</div>
</div>

Expand Down

0 comments on commit f054db2

Please sign in to comment.