[ π—€π˜‚π—²π˜€π˜π—Άπ—Όπ—» ] Are generated block Ids unique to section / template?

I have never actually seen the answer to this question in the docs so:

Are generated block Ids ( block.id ) unique to sections or templates?

From what I’ve seen I would say templates but I’m not certain.

If they were unique only inside the context of a section , you’d have
to always combine it with the section id , which I haven’t seen being
done most the time …

hi john, thanks for reaching out!

Are generated block Ids ( block.id ) unique to sections or templates?

they are unique to sections, not templates

3 Likes