Hugo + Github Pages 😵
Ah this was one of the most annoying things, I encountered this week ! Hosting Static Sites on Github Pages should be easy and it is, I’ve used it before too and its one of the best hosting medium ! BUT… Using HUGO to generate a static site and host it on Github Pages was pretty annoying. It was very easy on the development side of things, deployment was the opposite but got it sorted it. Using hugo --ignoreCache -t PaperMod built a public/ directory where the static site was generated and pushing it the remote repo and hosting would have done the job but for some reason the CSS and JS was not loading what so ever. It was HTML ONLY ! ...