impeccable project-wide

This commit is contained in:
2026-07-17 00:09:25 +02:00
parent 60bcd589c0
commit b4c02c45f0
106 changed files with 51536 additions and 0 deletions
@@ -0,0 +1,7 @@
/** Check if content looks like a full page (not a component/partial) */
function isFullPage(content) {
const stripped = content.replace(/<!--[\s\S]*?-->/g, '');
return /<!doctype\s|<html[\s>]|<head[\s>]/i.test(stripped);
}
export { isFullPage };