Duplicated content in conditional layouts

I’d like to use multiple layouts but the conditional layouts I’ve seen result in the same content from a post being simply hidden from the user. The code/content is duplicated for Googlebot in the source code so not good for SEO. Is there a way to do this so the content is only written in the DOM for the selected layout rather than all the layouts then being hidden?

Here is my site Read-Only: LINK
(how to share your site Read-Only link)