I have a new Hugo on windows 10 installation with the docdock theme and the site mostly loads but I get a 404 can’t find index.js
.
If I understand how Hugo works all the files on disk are loaded into memory and served from memory so the fact that I see index.json
on disk is misleading…???
My install looks like this:
C:\Hugo\Bin\Hugo.exe
C:\Hugo\Sites\Abc.com\config.toml
C:\Hugo\Sites\Abc.com\themes\hugo-theme-docdock\theme.toml
Abc.com\config.toml
:
baseURL = "/"
languageCode = "en-us"
title = "My New Hugo Site"
theme = "hugo-theme-docdock"
From Administrative command prompt:
c:\Hugo\Sites\Abc.com>Hugo serve
Building sites …
| EN
+------------------+-----+
Pages | 7
Paginator pages | 0
Non-page files | 0
Static files | 209
Processed images | 0
Aliases | 2
Sitemaps | 1
Cleaned | 0
Total in 163 ms
Watching for changes in c:\Hugo\Sites\Humana.com\ {content,data,layouts,static,themes}
Watching for config changes in c:\Hugo\Sites\Humana.com\config.toml
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
Finally in the browser I get the docdock theme to mostly load but I get this 404:
http://localhost:1313/index.json 404 (Not Found)
Any advice would be greatly appreciated