There are 26 URLs in the sitemap of Leo Tools (https://leotool.pages.dev), a small site of Vietnamese calculators. On 5 December 2026 I fetched all of them: every URL returned HTTP 200, none redirected, and every page carried a canonical link pointing at itself.
Those are not growth tactics. They are properties that can be measured, and most come from one Python file that runs after the HTML is written. Every number below came from curl, python3 and node against the live site.
What the 26 pages actually are
The site is not 26 copies of a template. It is six groups with different intents:
| Group | Pages | What is there |
|---|---|---|
| Home | 1 | 14 cards, a worked example, an FAQ |
| Vietnamese tools | 10 | fees, salary, interest, loans, power, QR, password, text, JSON, images |
| English tools | 4 | interest, JSON to CSV, password, word counter |
| Service pages | 5 | one hub, four detail pages |
| Demo pages | 5 | two tools, three storefronts |
| Digital products | 1 | three products |
| Total | 26 |
The median page is 9,388 bytes of HTML and the 26 pages total 374,710 bytes; the largest is a demo at 59,464 bytes, which is the point of the split. One page answers one question, with one H1 and one canonical. A single page listing 14 calculators would answer none of the 14 questions.
One Python script owns the machine-readable files
build_manifest.py is one file, standard library only. It walks the site directory recursively, so a page added under demo/ or dich-vu/ is picked up without editing a list. It parses every page with HTMLParser, checks title, meta description and that internal CSS and JS exist, and exits non-zero if any is missing. The directory holds 28 HTML files; two are Google verification stubs, excluded by exact name and content, leaving 26 pages.
Then it writes four files from that pass: sitemap, robots, llms.txt and a JSON index. One rule matters more than the rest. Cloudflare Pages answers GET /tinh-lai-kep.html with a 308 to /tinh-lai-kep, so clean URLs are a hosting constraint, not a style preference. The generator strips .html from every URL, and the canonicals use the same form: 26 sitemap URLs, 0 with .html, 26 fetched pages, zero redirects.
The generator is a gate, not a convenience. I copied the site folder and re-ran it: exit code 0, and:
Validated 26 HTML pages (14 tools, 2 sales, 4 services, 5 demos). Generated tools-index.json, sitemap.xml, robots.txt, and llms.txt for https://leotool.pages.dev. The regenerated sitemap.xml, llms.txt and robots.txt were byte-identical to the live files (sha256 matched); the JSON index differed only in its generatedAt timestamp. Running the build twice produces the same site, which is the property worth having.
The same list logic, runnable in node:
// The real generator is Python; this is the same list logic in JavaScript. const pages = [ "index.html", "dem-so-tu-ky-tu-online.html", "json-formatter.html", "nen-anh-online.html", "tao-ma-qr-vietqr-mien-phi.html", "tao-mat-khau-manh-online.html", "tinh-lai-kep.html", "tinh-lai-suat-vay-ngan-hang.html", "tinh-luong-gross-net.html", "tinh-phi-san-tmdt.html", "tinh-tien-dien-sinh-hoat.html", "en-compound-interest-calculator.html", "en-json-to-csv-converter.html", "en-password-generator.html", "en-word-character-counter.html", "dich-vu.html", "san-pham.html", "dich-vu/landing-page.html", "dich-vu/anh-san-pham.html", "dich-vu/video-ngan.html", "dich-vu/chatbot.html", "demo/chatbot.html", "demo/tao-mo-ta-san-pham.html", "demo/landing-spa.html", "demo/landing-my-pham.html", "demo/landing-do-gia-dung.html", ]; const clean = (f) => (f === "index.html" ? "" : f.replace(/\.html$/, "")); const sitemap = pages.map((f) => new URL(clean(f), "https://leotool.pages.dev/").href); const llms = pages.map((f, i) => "- [page " + (i + 1) + "](" + sitemap[i] + ")"); console.log(sitemap.length, sitemap.filter((u) => u.includes(".html")).length, llms.length); console.log(sitemap[0]); // 26 0 26 // https://leotool.pages.dev/ The sitemap, llms.txt and the JSON index are one list
Three consumers, one source: crawlers read the sitemap, an agent can read llms.txt, and a script can read tools-index.json. All three come from the same walk of the filesystem, so adding a page updates them in one build.
| File | Size | What it contains |
|---|---|---|
| sitemap.xml | 4,700 B | 26 loc entries, zero .html suffixes |
| robots.txt | 70 B | allow all, sitemap URL |
| llms.txt | 7,655 B | 37 lines, 26 links, four sections |
| tools-index.json | 31,471 B | totalPages 26, totalTools 14, metadata per page |
I would not oversell llms.txt: it is a proposed convention, not a standard, and it does not affect ranking. The cost is one generated file, a line per page, with the same description as the meta tag. If something reads it, it gets an accurate map; if nothing does, the cost was one build step.
JSON-LD: one graph per page, and a check that bites
Across the 26 pages there are 41 JSON-LD nodes: 16 WebApplication, 15 FAQPage, 4 Service, 2 Product, and one each of WebSite, CollectionPage, ItemList and HealthAndBeautyBusiness. They sit in 27 script blocks; all 27 parse as JSON, zero invalid.
Each of the 14 tool pages emits exactly one @graph with WebApplication and FAQPage (14 of 14 verified). The home page emits WebSite plus FAQPage; demo storefronts declare Product or a local-business type; the four service detail pages declare Service, the service hub declares CollectionPage; the products page declares ItemList.
Then there is the check that matters. Structured data is a claim about the page, and a FAQPage listing a question the reader cannot see is a wrong claim. On the fee calculator, all three questions and answers in the graph appear verbatim in the served HTML; I verified that with string comparison, not by eye. The same check across all 41 FAQ entries on the site flags 19 questions that never appear in the visible HTML, because those blocks were written at different times than the schema. That is a content fix: put the Q&A on the page, or take it out of the graph.
function toolGraph({ url, name, faqs }) { return { "@context": "https://schema.org", "@graph": [ { "@type": "WebApplication", name, url, applicationCategory: "FinanceApplication", operatingSystem: "Any", offers: { "@type": "Offer", price: "0", priceCurrency: "VND" } }, { "@type": "FAQPage", mainEntity: faqs.map(([q, a]) => ({ "@type": "Question", name: q, acceptedAnswer: { "@type": "Answer", text: a } })) }, ], }; } const graph = toolGraph({ url: "https://leotool.pages.dev/tinh-phi-san-tmdt", name: "Phí sàn & lợi nhuận", faqs: [["Q1", "A1"], ["Q2", "A2"], ["Q3", "A3"]] }); console.log(graph["@graph"].map((n) => n["@type"]).join(","), graph["@graph"][1].mainEntity.length); // WebApplication,FAQPage 3 Plain HTML keeps the text where it is read
There is no framework and no hydration step. One stylesheet weighs 27,308 bytes, three scripts weigh 12,641 bytes together, and all three pass node --check on node v26.10.0. The fee page is 10,712 bytes of HTML with 606 words of guide, formula and FAQ before JavaScript runs; the calculator is an enhancement on top of the text.
Compression is the other half: the homepage goes from 25,457 bytes to 5,610 over the wire with gzip, the fee page from 10,712 to 2,901. The text layer costs less than the screenshot illustrating it, 230,902 bytes.
The arithmetic is the content: integers and basis points
A readable calculator that returns the wrong number is worse than a page nobody finds. Two rules keep the numbers honest: amounts are integer đồng, never floats, and rates are basis points, so 900 means 9.00%. Rounding happens once per fee line, the way a payout statement rounds it.
The homepage example: 350.000đ sale price, 180.000đ of goods and packing, roughly 9% marketplace and payment fees, an 8.000đ freeship pack. The card shows −31.500đ and −8.000đ, 39.500đ of fees, 130.500đ left, a 37.3% margin.
// integer đồng in, integer đồng out; rates are basis points (900 = 9.00%) const bps = (amount, rate) => Math.round((amount * rate) / 10000); const lines = [ { name: "marketplace", bps: 900 }, { name: "freeship-extra", amount: 8000 }, ]; const price = 350000, cogs = 180000; const fees = lines.map((l) => (l.bps === undefined ? l.amount : bps(price, l.bps))); const net = price - cogs - fees.reduce((a, b) => a + b, 0); console.log({ fees, totalFees: fees.reduce((a, b) => a + b, 0), net, marginPct: Math.round((net / price) * 1000) / 10 }); console.log(bps(123457, 225) * 4, bps(123457, 900)); // { fees: [ 31500, 8000 ], totalFees: 39500, net: 130500, marginPct: 37.3 } // 11112 11111 Two details that output makes visible. The flat 8.000đ is not a percentage, so it does not shrink when the price is cut; that is why "the platform takes 9%" understates the effective rate on cheap orders. Per-line rounding is not cosmetic either: four 225 bps lines on a 123.457đ order add up to 11,112đ, while rounding the 9% total once gives 11,111đ. One đồng, but it is the đồng the seller compares against the payout statement.
The limits belong in the page too: the rate table is dated December 2026 and lives in the HTML, so it can go stale, and category caps, vouchers and return rates are not modeled. Arithmetic, not advice.
What a 200 does not prove
If you take one thing from this post, take this. A link checker that trusts HTTP 200 is wrong on Cloudflare Pages: a path that does not exist returns 200 with the homepage. /khong-ton-tai-devto5-123 returned 200 and 25,457 bytes, byte-identical to /, with the canonical pointing at /. Every broken link would pass that test.
The check needs three layers: fetch the URL, require 200, require <title> to match the expected page, and require <link rel="canonical"> to equal the requested URL. With those three, all 26 pages pass and the fallback page fails.
What I cannot measure is whether any of this earns visibility. I can verify URLs, canonicals, valid JSON-LD, text-before-JavaScript and the arithmetic; I cannot verify that a model cites the site or that rich results appear. Those are outcomes, not properties.
The next fixes are already on the list: the 19 FAQ questions that are not visible on the page, and rate tables that need a date bump. That is what a build gate is for.
If you are building the same kind of site and the bottleneck is the storefront rather than the math, the fixed-scope service menu is at Leo Tools services: a one-page landing, product photos, short vertical videos, or an FAQ chatbot, prices on the page.
— Leo Ho

