summaryrefslogtreecommitdiffstats
path: root/htaccess
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-05-18 17:04:02 +0200
committerDanilo M. <danix@danix.xyz>2026-05-18 17:04:02 +0200
commitdea52efa3e93c34b0baa81c7987d59483ec83c34 (patch)
tree6daea3e091b51278b4e2411cce78d9c47ef8b168 /htaccess
parent8e7bb77a16cad59928225c59b2e6f43fd00d1cb4 (diff)
downloadpkgs-html-structure-master.tar.gz
pkgs-html-structure-master.zip
refactor(gen_web_hook): skip writes when content unchangedHEADmaster
Adds write_if_changed: generates to a same-fs temp file, skips mv if cmp -s matches, otherwise atomically replaces. Trap ensures cleanup on failure. All header/footer write sites ported to use it. Also merges write_header/write_category_header into one function (optional cat_name arg for the pill), and splits footer_sig into footer_sig_inner so generate_root_footer can reuse the sig block without duplicating HTML. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'htaccess')
0 files changed, 0 insertions, 0 deletions