Guides (Marty 2026-11-17, evergreen guides plan): /guides index, /guides/is-it-legit (BannerLine 0x6c77...9f9b on Polygonscan, live ledger, the 30 / 10x5.5 / 5+5 / 5 split from the contract constants plus the edge rules: sponsor set once and only if already a member, failed send to the fund, missing early levels to the company, kept spots feed the fund), /guides/free-account (one network sign-in, own a spot before sharing, banner checks, refuel spots, fund gifts), /guides/faq (from the chatbot canned answers, FAQPage JSON-LD); /how links them; footer Guides link; sitemap; chatbot f-guides entry + sponsor rule fact

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-17 08:25:02 -06:00
parent f8e6a9d174
commit e00b7b2f59
10 changed files with 227 additions and 5 deletions
+3 -2
View File
@@ -340,7 +340,8 @@ const server = http.createServer(async (req, res) => {
const net = old && OR[old]; res.writeHead(301, { Location: net ? '/?ref=' + encodeURIComponent(net) : '/', 'Cache-Control': 'no-store' }); return res.end();
}
const PAGES = { '/': 'index.html', '/board': 'board.html', '/join': 'join.html', '/my': 'my.html', '/how': 'how.html', '/ledger': 'ledger.html', '/contract': 'contract.html',
'/terms': 'terms.html', '/disclaimer': 'disclaimer.html', '/privacy': 'privacy.html', '/admin': 'admin.html' }; // legal pages: trust pack 2026-11-14; /admin 2026-11-16
'/terms': 'terms.html', '/disclaimer': 'disclaimer.html', '/privacy': 'privacy.html', '/admin': 'admin.html',
'/guides': 'guides.html', '/guides/is-it-legit': 'guides-legit.html', '/guides/free-account': 'guides-free.html', '/guides/faq': 'guides-faq.html' }; // legal pages: trust pack 2026-11-14; /admin 2026-11-16; Guides 2026-11-17
if (PAGES[p]) {
const set = [];
if (setVid) set.push(setVid);
@@ -353,7 +354,7 @@ const server = http.createServer(async (req, res) => {
// sitemap (2026-11-13, SEO): the public pages only
if (p === '/sitemap.xml') {
const day = new Date().toISOString().slice(0, 10);
const urls = ['/', '/board', '/how', '/ledger', '/contract', '/join', '/promote', '/terms', '/disclaimer', '/privacy'].map(u => '<url><loc>https://' + C.site + u + '</loc><lastmod>' + day + '</lastmod></url>').join('');
const urls = ['/', '/board', '/how', '/ledger', '/contract', '/join', '/promote', '/guides', '/guides/is-it-legit', '/guides/free-account', '/guides/faq', '/terms', '/disclaimer', '/privacy'].map(u => '<url><loc>https://' + C.site + u + '</loc><lastmod>' + day + '</lastmod></url>').join('');
res.writeHead(200, headers({ 'Content-Type': 'application/xml; charset=utf-8', 'Cache-Control': 'public, max-age=3600' }));
return res.end('<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">' + urls + '</urlset>');
}