read_time from Bard fieldtype?

Is it possible to get the read_time from a Bard fieldtype with multiple content blocks? I'm setting up a Blog section with a body field using Bard but since it creates a multi-dimensional array I cannot render it like a string.

I also tried the following:

{{ body }}

    {{ if type == "text" }}
        <span class="length">{{ text | read_time }} minute read</span>
    {{ /if }}

{{ /body }}

But since I have 3 text blocks in my Blog, this outputted 2 minute read 1 minute read 1 minute read on my page ;-)

Any suggestions? Thnx!

Answered by Christopher Siegel!
>>>>>>> Answered <<<<<<<
11 Replies