Yep, different projects, a blank one after just creating a new site with “hugo new site”.
default config, empty md files, i have triee everything…
Borh on windows and ubuntu.
Om windows it works SOME times, but it skips parts of the page randomly?
On ubuntu it dosent find any md files. Except the one for the startpage.
Whats interesting tho is if i take that file, i can rename it to whatever and use whatever layout file i want with it. But if i copy the contents of that file, and add it to another md file both in /content
It dosent work.
It also does not render the hugo.stats.json correctly.
Its not the files or projekt, if i try to build a backups from a few weeks ago or even from before sunday when i updated. It cant find those md file either.
Look at the github link to the issue i created, i have a more detaild description about my setup there.
It could also be that its an incompatability with another software or tool.
As i tried reinstalling ubuntu the ubuntu install is completly fresh.
Ive aldo tried using toml,yaml, json for frontmatter and config
What i use:
Ubuntu 22.04 installed the “minimal install”
Wayland
Fish terminal
Hugo 0.121.1
Go 1.21.5
Nginx 1.25
Node.js using the fish nvm plugin
Postcss latest from npm
Java - dont remember the v, just using it for g closure compiler
Editor vscode
Vscode plugins:
A theme
Copilot
Hugo synthax highlighter
Alpine.js intellisense
The standard go plugins that vscode autoinstalled when opening my go project.
Tailwind css intellisense(not using tw in hugo)
Htmx intellisense - disabled
SSH remote from ms
Non standard vscode settings:
zoom level
a few color changes
Edit: as it dosent work on a fresh install and hugo new site, it dosent matter if i give an example.
Btw ive also tried:
Specifying the content dir in the config, using both mount and contentDir.
Using all kind of flags when running “hugo”
Put broken markdown,html,yaml in the md files that SHOULD throw an error if hugo tries to parse it. But nothing… Until i rename the file and livereload detects it.
Permissions is set to 777 for all files and folders in the project directories.
On win i was using node 18, on ubuntu node 21.
Worth to mention:
On windows, both hugo 0.121 and 0.120 glitched explorer.exe when hugo server was running.
And some times i got weird issues where it lost the config file. The last one i got on 0.19 too