Hand-written static pages with no build step: thirteen pages in German at the
root, the same thirteen under en/ and fr/, plus 404.html, assets/ and a
few root files. Edit the HTML directly, in all three languages. AGENTS.md
holds the content and design rules.
Preview with a server that resolves extensionless URLs, such as npx serve.
.github/workflows/deploy.yml runs on every push to main, or by hand. It
copies the repo, minus .git/, .github/, AGENTS.md and README.md, to
GitHub Pages unchanged.
It then pings IndexNow with the pages the push
changed (every page on a manual run), which reaches Bing and through it
ChatGPT search, Copilot and DuckDuckGo. The key is the public root file
4f788c756ba49f94dc46567ec756122c.txt. A failed ping does not fail the run.
Google ignores IndexNow and reads sitemap.xml; submit it once in Google
Search Console and Bing Webmaster Tools.
One-time set-up under Settings -> Pages:
- Source: GitHub Actions.
- Custom domain:
keera.ch, matchingCNAME. DeletingCNAMEtakes the site off the domain. - Enforce HTTPS: on.
DNS: four A records for the apex at 185.199.108.153 to 185.199.111.153
(plus AAAA if the zone has IPv6), and www as a CNAME to
<owner>.github.io., which Pages redirects to the apex.
The root 404.html serves every missing path, directories are never listed,
HTTPS and www are handled by the settings above, and the language redirect is
assets/js/language.js. Pages sends max-age=600 on everything; there is no
way to set cache lifetimes.