ryanburnette / eon

This is eon, it's a Hugo theme and custom Bulma implementation used for building websites.
ISC License
3 stars 1 forks source link

Assets are don't work if you aren't hosting at root dir #11

Closed ryanburnette closed 3 years ago

ryanburnette commented 3 years ago

@coolaj86

ryanburnette commented 3 years ago

Arrange your configs like this demo https://github.com/ryanburnette/eon-demo/tree/main/config

ryanburnette commented 3 years ago

Note that in _default/config.toml I have the baseURL http://localhost:3000 for development, but in config/production/config.toml I override baseURL to https://foo.bar.com/qux/. Then try spinning up development and subsequently running a production build with the hugo command.

Problem solved.