I followed this (Host on GitHub Pages | Hugo) tutorial to publish the site on gh-pages and it works pretty good.
I’ve got a problem however, for maths to be rendered I had to modify the themes/papermod/layouts/partials/extend_head.html for it accept math.
To push these local modififcations to my repo “GitHub - MLExplora/Hugo_site” I did :
- Fork the official papermod repo
- Modify extend_head.html
- Add the fork to GitHub - MLExplora/Hugo_site using git submodule add
- Observe the site in local host (looks good)
- Publish the site to localhost following the tutorial
Unfortunately, the actions fail
More details :
I don’t know the solution to this, anyone can help ?