Template includes Layouts and so every time the shortcode is parsed twice once before the rendering the template content ($Content)and when template content($Content) is rendered
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
I don't understand this question at all, can you explain it better?