I had a wordpress site, but now I have seen the light and migrated to Hugo with all it’s bliss!
However, I miss a feature from wordpress, and that is to be able to embed my documentation inside iframes, and append a query parameter similar to “?content_only=1”, and that removes menus, header, footer and leaves me the content only.
I understand that Hugo is not dynamic like wordpress (php) is, so I guess it leaves me with two options:
Render two versions of my site (with two different themes), but I belive I might get penalized by search engines for duplicate content, and it also feels a bit overkill.
I do some js magic that dynamically hides meny by query parameter…
Or do you have a better option?
Has anyone done something like this before, or know how to do it?