diff --git a/README.md b/README.md index 068342d..807d7e5 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,6 @@ Point `www` at Cloudflare so the redirect can run (the guide uses a proxied `A` - Australian English. - No invented statistics, reviews, testimonials or customer counts. -- Live tools link to Etsy with **Buy on Etsy**. The bundle is A$179.00 including GST, A$37 less than the four tools bought separately. +- Live tools link to Etsy with **Buy on Etsy**. The bundle is A$179.00 including GST, A$36.99 less than the four tools bought separately. - The refund policy does not limit Australian Consumer Law rights. - The free calculator is simpler than the Charge-Out Rate & Job Costing Calculator: one person, no job costing. Figures stay in the browser. diff --git a/scripts/check-dist.mjs b/scripts/check-dist.mjs index e9c969a..aa22675 100644 --- a/scripts/check-dist.mjs +++ b/scripts/check-dist.mjs @@ -128,6 +128,15 @@ const article2 = read(join(dist, 'blog/what-to-charge-per-hour-as-a-small-trades if (!/tradie charge out rate/i.test(article2)) { throw new Error('Article 2 should use the target keyword in the body or meta'); } +const article2Visible = article2 + .replace(/
[\s\S]*?<\/head>/, '') + .replace(/