-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hugo scaffolding inconsistent with theme #165
Comments
May be you can use Chrome in dev mode and do "reset all and relaod". Often the is some cache (css and al) involved |
Hi @jonsgreene, Probably I can repeat it too. Can you let know exactly what version Hugo are you using? And what is your dockdock theme version (checkout last commit)? Is it latest-latest? |
@Pilskalns Hugo version v0.49.2, docDock is the latest as well. @divinerites That may fix the navigation issue via chrome, but doesn't fix the git changes I see when running the hugo command again. I expect that if I commit my changes and run the hugo command that I should not see any files changed. It should look just like the remote. Sometimes I run the command and see 5 files changes, other times i'll see 3 files changed. So it seems like something that generates the files in the /docs folder is not making it all the way down the tree the first time. |
Hi @jonsgreene, Currently, only unwanted behavior what can I repeat is if Could you list what kind of files are changing with each run? Maybe you have them in some commit publicly available? |
@Pilskalns This is not a public repo unfortunately. I have noticed that if I delete the browsers cache the navigation section will update and start to function. @divinerites also mentioned that it could be cache. Still haven't been able to figure out why git sees changes after running hugo after a fresh push. I'll keep testing, thanks for the help. |
So today I ran a few more test. I noticed that the while using the submodule it would only update to this sha b667496 I updated hugo to v0.52/extended It seems to have fixed the issue with the navigation problem. I do however notice that the changes when running hugo after a good commit changes this meta data on each page
This isn't a big deal. I'm going to keep poking around to see if the issue was resolved by recent updates. |
@jonsgreene great find! Yes, If you need to completely the same output between two builds, you can add your custom |
When publishing to the /docs directory there is an inconsitency in files changed.
To recreate:
hugo
commandVisually the navigation menu breaks when clicking through your folders and files.
I have to run hugo many times and recheck the menu by clicking each link and making sure the menu doesn't collapse.
I expect that when I run the hugo command for it to publish to the docs directory all files would be updated on one run. It seems like some files are missed. I have to run the hugo command about 3-4 times and then check the files structure locally before commiting.
Not sure if others are experiencing this issue. Can't tell if it is a theme issue or a hugo issue
The text was updated successfully, but these errors were encountered: