Pour installer Hugo
brew install hugo
Mise à jour avec
brew upgrade hugo
https://github.com/noesya/osuny-hugo-template-aaa
Pour faire la mise à jour :
git remote add template git@github.com:noesya/osuny-hugo-template-aaa.git
git fetch --all
git merge template/main --allow-unrelated-histories
Pour cloner avec le thème
git clone git@github.com:noesya/etiennemineur-podcast.git --recurse-submodules
Pour récupérer le thème
git pull --recurse-submodules
Pour lancer le site
yarn
yarn dev
Pour déployer le site avec Netlify, penser à ajouter la deploy key.
Les params principaux sont dans config.yaml du theme, pour en ajouter ou modifier il faut overider dans config/_defaults/config.yaml
cdnkey: https://osuny-1b4da.kxcdn.com
cookie_banner:
enable: true
blank: true
page: https://gdpr.eu/cookies/