Change to the dev
branch:
then open this repo using GitHub Codespaces:
- Press
Command
+Shift
+B
and selecthugo: Serve site
. - The site should now be running, and a popup to view it should appear in the bottom right.
- Open
layouts/partials/template/scripts.html
- Change code to match new single
- popupImg
- header
- URL inside window.open
- Data files are in the
data
folder banner.yml
is the top sectiongallery.yml
is the Singles sectionitems.yml
is the Press section- etc
- Stage and commit your changes and push to
dev
branch:
- Wait for Netlify to build the site, then check dev.trentvinemusic.com
- If all looks good, merge the
dev
branch intomain
:- Press
Command
+ ` to open the Terminal - Run
git checkout main
to switch to themain
branch - Run
git merge dev
to merge thedev
branch into themain
branch - Run
git push
to push themain
branch up - Run
git checkout dev
to switch back to thedev
branch for next time
- Press
- Netlify will now build the main site