Hackeroni
CDCloudflare Developers
•Created by Hackeroni on 8/23/2023 in #pages-help
Getting different outputs from the same repo! (Hugo)
Thanks for the help 🙏
8 replies
CDCloudflare Developers
•Created by Hackeroni on 8/23/2023 in #pages-help
Getting different outputs from the same repo! (Hugo)
True.
Sounds like it.
I use
--ignoreCache
with hugo when seeing the changes locally though.8 replies
CDCloudflare Developers
•Created by Hackeroni on 8/23/2023 in #pages-help
Getting different outputs from the same repo! (Hugo)
I somehow solved it.
There was one specific category that wasn't using the right layout when deployed on CF - I edited and pushed the
_index.md
in that directory, now it's working.
It's not a real solution because I don't know what was wrong really, but somehow it fixed the problem and now that category is using the right layout.
Interestingly enough, I added posts in that category before but it didn't do the trick. Editing _index.md
did 🤷♂️
Also I was under impression that the site gets rebuilt completely from scratch each time - is CF pages using any types of build cache that wasn't getting purged properly? 🤔8 replies
CDCloudflare Developers
•Created by Hackeroni on 8/23/2023 in #pages-help
Getting different outputs from the same repo! (Hugo)
Hi
The theme is not a submodule, it’s inside the repo.
The repo is not public, but I can give you access if you want to take a look.
Nothing private in there
8 replies