Each section and content should render its origin as data attributes. This way a HTML parser can determine where a content is transcluded from.