bridget
bridget copied to clipboard
Site just loads "Page not found"
Step to reproduce
-
hugo new site sitename -
cd sitename -
git init -
git submodule add https://github.com/Sped0n/bridget themes/bridget - Remove
hugo.tomlfrom project root - Copy config folder from exampleSite to project root
- Set theme config as follows:
# theme as module
[module]
replacements = "github.com/Sped0n/bridget/v2 -> themes/bridget" # deploy with local dir WARN: delete this line if you want to deploy with git
[[module.imports]]
path = "github.com/Sped0n/bridget/v2" # deploy with git (recommended) WARN: you should also set `bundled` to true in params.toml !!!
-
mkdir ./content/Info - Write the default index.md headings to index.md in the Info folder.
-
hugo serve
Expected behaviour
Build a site, idk what else to say?
Actual Behaviour
Logs
Watching for changes in /home/deadbeef/Documents/tomtakesphotos.com/{archetypes,assets,content,data,i18n,layouts,static}
Watching for config changes in /home/deadbeef/Documents/tomtakesphotos.com/hugo.toml, /home/deadbeef/Documents/tomtakesphotos.com/config/_default
Start building sites …
hugo v0.132.2-3fd26c70dff5934ec1802b9563530130ed1bca75+extended linux/amd64 BuildDate=2024-08-14T16:17:21Z VendorInfo=gohugoio
WARN 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 found no layout file for "json" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
| EN
-------------------+-----
Pages | 2
Paginator pages | 0
Non-page files | 0
Static files | 0
Processed images | 0
Aliases | 0
Cleaned | 0
Built in 5 ms
Addition details
No response
Hugo version
v0.132.2 (extended)
Bridget version
v2.0.3
OS version
Linux Mint and Debian
Verify steps
- [ ] Pull request is welcome. Check this if you want to start a pull request
- [X] I have searched on Issue Tracker, No duplicate or related open issue has been found
- [X] Ensure there is only one bug report in this issue. Please make mutiply issue for mutiply bugs
Try to change themes/bridget to only bridget?
It seems hugo now require(or I misunderstand) the relative path that relative to the themesDir, details in https://gohugo.io/hugo-modules/configuration/#module-configuration-top-level
Will close this issue for now. If the error persists after attempting the suggested solutions, please reopen the issue.