Modular website - Separating kernel files and static files

I am currently using hugo to create website. I found the process to be overall simple and straightforward. The process of setting up a new website includes: selecting an appropriate theme from hugo themes list use the example website files that come with a theme (usually themes are hosted in the github and from the github you can grab the corresponding example website files) customize the example website files as required test the website by first building in your computer using hugo server command: hugo server -D this spins up the website in the localhost http://localhost:1313/.