Home Forums Gutenberg Blocks not rendering when using Timber


Blocks not rendering when using Timber

  • I don’t know if the issue is with Timber or with ACF.
    Also I don’t know if I just missed something in the tutorials.

    But here is the issue.

    I can make everything work perfectly in the editor.
    The rendering and editing of everything inside the block works like a charm.
    But when I publish and go to the page, I see nothing is rendered and in the html I only see the html comment with all the data.

    I followed the tutorial every step of the way.

    Any pointers to where this issue might lay or how to solve it.

    Kind regards,

  • Oke. I just found what the issue was.
    I was using the post.post_content variable from twig.
    Apparently that is not a variable that contains the final content.

    For future reference for people with something like this issue:
    Use the {{post.content}} variable

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Blocks not rendering when using Timber’ is closed to new replies.