-
###Clone mywebsite-hugo repo from github
cd ~/Documents/Github/
git clone https://github.com/michelesantacatterina/mywebsite-hugo.git
-
###Clone michelesantacatterina repo from github
cd ~/Documents/Github/
git clone https://github.com/michelesantacatterina/michelesantacatterina.github.io.git
-
###Change the website's contents (use markdown)
cd /Users/micsan/Documents/Github/mywebsite-hugo/
hugo server
ctrl+c to stop server
-
###Remove old public folder
rm -rf public
-
###Build website
hugo
-
###Add new content to michelesantacatterina.github.io
cd ..
cd michelesantacatterina.github.io
cp -av /Users/micsan/Documents/Github/mywebsite-hugo/public/* .
git add -A
git commit -m "updates"
git push origin master
Notes. ### Some notets
If you want to add/remove info about social media, use config.toml (HugoBlox/hugo-blox-builder#644)