Guides across the network (Marty 2026-11-17): each rebuilt program's evergreen Guides section linked from its /earn page and in a short block on the blog index (page 1); programs.js gets a guides URL for DLB, VBB, VAB, VAS, 5x, DH and PolHunter
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -117,6 +117,7 @@ function programPage(p, who) { const ref = who || OWNER; // a Pro member's ref (
|
||||
h += '<div class="cta"><a class="btn" href="' + esc(p.join(ref)) + '" rel="nofollow noopener" target="_blank">' + (p.verb || (p.k === 'iap' || p.k === 'ls' ? 'Join' : 'Play')) + ' ' + esc(p.n) + ' free</a><a class="btn sec" href="/ledger?p=' + p.k + '">Its payouts on the ledger</a></div></div>';
|
||||
h += '<aside><img src="/img/' + p.k + '.jpg" alt="' + esc(p.n) + '" width="800" height="420" style="border-radius:18px;border:1px solid var(--line)"></aside></section>';
|
||||
h += '<div class="sec-head"><h2>How ' + esc(p.n) + ' pays</h2></div><p class="lead" style="max-width:72ch">' + esc(p.how || ('Rewards are sent in POL from ' + p.n + '\'s own payout wallet straight to the wallet on your account, on the Polygon network. Every payment is a public transaction you can open on Polygonscan.')) + '</p>';
|
||||
if (p.guides) h += '<p class="lead" style="max-width:72ch"><a href="' + esc(p.guides) + '" target="_blank" rel="noopener">Read the ' + esc(p.n) + ' guides</a> on its own site: how it works, whether it is legit (the contract, the ledger and the split) and the FAQ.</p>'; // 2026-11-17
|
||||
h += '<div class="sec-head"><h2>Latest ' + esc(p.n) + ' payouts</h2><p><a href="/ledger?p=' + p.k + '">All of them</a></p></div>' + tableHead(true) + ledgerRows(rows, true) + '</tbody></table></div>';
|
||||
const posts = blog.listPublished().filter(b => b.tags.includes(p.slug) || b.tags.includes(p.n.toLowerCase())).slice(0, 3);
|
||||
if (posts.length) h += '<div class="sec-head"><h2>Guides</h2></div><div class="posts">' + posts.map(blog.cardHtml).join('') + '</div>';
|
||||
|
||||
Reference in New Issue
Block a user