netlify-plugin-encrypted-files
You can see this page.
- And you can see this secret page
- And this secret page
But you can't see their source when you view the source of this project.
This demo encrypts HTML, but you could equally encryped JS, Markdown, or whatever other content files you need to keep closed source.