What you are trying to accomplish is more difficult than you might imagine.
1. When you are building the site for local use (no server), you need to set the following options to true
:
2. Your theme (or custom layouts) must be designed with this dual-usage in mind.
3. Links and images within your content must be created with this dual-usage in mind.
If you are a new Hugo user, you may find this to be… challenging.