Let’s find out what happens when you create a new Hugo site - with no theme, but add content - then run hugo server -D
- You have no HTML layouts
- You have no taxonomy pages
- You have no home page
- Browsing to localhost show you a white screen
[21:33:16 - 20-07-12] /Users/damien/dev/notheme % hugo server -D
Building sites … WARN 2020/07/12 21:33:23 found no layout file for "HTML" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/07/12 21:33:23 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/07/12 21:33:23 found no layout file for "HTML" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/07/12 21:33:23 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
| EN
-------------------+-----
Pages | 3
Paginator pages | 0
Non-page files | 0
Static files | 0
Processed images | 0
Aliases | 0
Sitemaps | 1
Cleaned | 0
Built in 66 ms
Watching for changes in /Users/damien/dev/notheme/{archetypes,content,data,layouts,static}
Watching for config changes in /Users/damien/dev/notheme/config.toml
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at //localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop
WARN 2020/07/12 21:33:46 found no layout file for "HTML" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/07/12 21:33:46 found no layout file for "HTML" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Read more from my blog for an introduction and quick tips on developing in Hugo or UCTD.