openvibers/openvibe.help Commits

Help: a site's page is titled 'Help with <site>' (OpenVibe.Search's page was titled 'Search', like Help's own search page) (#64)

OP OpenVibers committed 27 days ago · b7e329197a · 2 files, +4 −1

Changes

ddiff --git a/server/http/pages.js b/server/http/pages.js
iindex fb5cb82..fe4522a 100644
---- a/server/http/pages.js
++++ b/server/http/pages.js
@@@ -149,7 +149,9 @@ ${group('coming', 'Coming', 'Registered in the catalog, not serving yet, or serv
const faqPairs = articles.map((a) => ({ q: a.question, a: a.answer }));
page(req, res, {
index: true, cache: PUBLIC_CACHE,
-- title: site.name,
++ // "Help with Search", not "Search": the bare name of the OpenVibe.Search page read exactly like Help's own
++ // search page in titles and results (2026-10-17).
++ title: `Help with ${site.name}`,
description: truncate(site.oneLine || site.description, 160),
crumbs: [{ label: 'Home', href: '/' }, { label: 'Sites', href: '/sites' }, { label: site.name }],
jsonLd: [
ddiff --git a/test/help-articles.test.js b/test/help-articles.test.js
iindex f67ac8a..6537d78 100644
---- a/test/help-articles.test.js
++++ b/test/help-articles.test.js
@@@ -111,6 +111,7 @@ const WITH_FAQ = [
const r = await t.get('/sites/openvibe.actor');
assert.ok(r.text.includes('href="https://openvibe.actor"'), 'no link to the site itself');
assert.ok(r.text.includes('href="https://openvibe.actor/updates"'), 'no link to its /updates');
++ assert.match(r.text, /<title>Help with [^<]+ · OpenVibe\.Help<\/title>/, 'a site page is titled as its help, not by the bare name');
});
await check('every provenance line names its source: no empty link (axe link-name on /sites, 2026-10-15)', async () => {