HUGO

Deploy Hugo on Github pages with modules

I have tried for hours getting this to work and I did everything just as the docs and other posts say, but no success.

I’m not very experienced when it comes to Go, Hugo or Github pages. Can anyone point me to the error please?

The build is always failing with

Error: module "PaperMod" not found; either add it as a Hugo Module or store it in "/home/runner/work/ChrisGitter.github.io/ChrisGitter.github.io/themes".: module does not exist

I got it working now. The problem was this line in the config file:

theme: PaperMod

had to be changed into this line

theme: github.com/adityatelange/hugo-PaperMod

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.