Here's the TravisCI yml file I used while this site was still with TravisCI. It gets the hugo specific version, build the site and commit + push to gh-pages. Just adapt it to your situation and enjoy! 1language: python 23env: 4global: 5- USER="icasimpan" 6- EMAIL="deploy@travis-ci.com" 7- …
Read MoreYou need to add in root directory netfily.toml. 1[build] 2publish = "public" 3command = "hugo --gc --minify" 45[context.production.environment] 6HUGO_VERSION = "0.74.3" 7HUGO_ENV = "production" 8HUGO_ENABLEGITINFO = "true" 910[context.split1] 11command = "hugo --gc --minify …
Read MoreIn most cases, themes do not exactly match what you want in your site. For instance, you have an old version of jquery is in the theme: 1/themes/themename/static/js/jquery.min.js Override it by copying the new version as: 1/static/js/jquery.min.js So as you may already have figured out by now, you just have to remove …
Read Morehttps://tutorialedge.net/golang/hugo/hugo-adding-images-to-posts/ https://gohugo.io/content-management/static-files/
Read More