A sitemap.xml that knows its own domain
Generated from the database at request time, so it is never stale and never has to be edited after a site is moved or sold.
Head tags, sitemaps, clean URLs and the plumbing search engines expect.
6 entries
Generated from the database at request time, so it is never stale and never has to be edited after a site is moved or sold.
Every page passes an array, one function writes the head. The alternative is a site where half the pages have no description and nobody notices for months.
The rewrite rules, the file protection that belongs beside them, and a switch that keeps the site working on hosting without mod_rewrite.
A version query derived from the file's own modification time. No build step, no manual version numbers, and no user stuck on last week's stylesheet.
One small file, sharp at every size, adapts to dark mode, and needs no generator — plus the two lines that cover the browsers that still want a raster.
A checkbox, a label and a sibling selector. Works with scripts disabled, ships nothing to parse, and cannot break on a slow connection.