Notes for coding agents (dietista.it)
Static Jekyll site for https://dietista.it, built and served by GitHub Pages.
Branches and PRs — read this first
gh-pagesis the LIVE branch.mainexists but is not what gets deployed. Every change to the site must targetgh-pages, nevermain.- Never push directly to
gh-pages. Every change goes through a pull request: branch fromorigin/gh-pages, commit, push the branch, thengh pr create --base gh-pages ... - Opening a PR against
main(theghdefault) is wrong and will be bounced. - Commit style: lowercase
feat:/fix:prefixes, e.g.feat: add SaporePuro psyllium link to /links/.
Building / verifying
- There is no Gemfile, so no local
bundle exec jekyll build. GitHub Pages builds the site on merge. Verify changes by inspection and withcurl(e.g. thumbnail URLs must return HTTP 200), then test in prod after merge.
/links/ page (links/index.html)
- Affiliate product buttons share one format — keep new entries identical:
a.link-btn.link-affiliate(shortamzlink.tohref,target="_blank",rel="noopener sponsored nofollow") >img.link-thumb(76x76,object-fit: containvia page CSS) +spanwith the product title. - The
links-notedisclosure paragraph below the buttons already covers all Amazon affiliate links; no per-link disclosure needed. - Product thumbnails are VENDORED in
images/(flat directory, descriptive lowercase names likebucce-psillio-saporepuro.jpg) and referenced as root-absolute/images/...paths. Never hotlinkm.media-amazon.com.