← back to Stars of Design
starsofdesign: home page — WebSite + Organization JSON-LD with SearchAction (urlTemplate→/designers?q=…) for Google sitelinks search-box eligibility. Closes the asim/sod parity gap on home-page schema.
7348d914ae7b0fb7348a9209ba45c7e1e1006f32 · 2026-05-12 18:58:24 -0700 · Steve Abrams
Files touched
Diff
commit 7348d914ae7b0fb7348a9209ba45c7e1e1006f32
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Tue May 12 18:58:24 2026 -0700
starsofdesign: home page — WebSite + Organization JSON-LD with SearchAction (urlTemplate→/designers?q=…) for Google sitelinks search-box eligibility. Closes the asim/sod parity gap on home-page schema.
---
routes/public.js | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/routes/public.js b/routes/public.js
index b43af5d..66fefd7 100644
--- a/routes/public.js
+++ b/routes/public.js
@@ -36,12 +36,42 @@ router.get('/', (req, res, next) => {
try {
const all = data.load();
const sortKey = SORTS[req.query.sort] ? req.query.sort : 'newest';
+ // WebSite + Organization JSON-LD. SearchAction declares the site's
+ // search endpoint to Google for sitelinks search-box eligibility.
+ // /designers acts as the search target (it accepts ?q=).
+ const json_ld = {
+ '@context': 'https://schema.org',
+ '@graph': [
+ {
+ '@type': 'WebSite',
+ '@id': 'https://starsofdesign.com/#website',
+ url: 'https://starsofdesign.com/',
+ name: 'Stars of Design',
+ description: 'A curated profile directory of the interior designers who shape interiors — public-data seed; designers may claim and edit their profile.',
+ potentialAction: {
+ '@type': 'SearchAction',
+ target: {
+ '@type': 'EntryPoint',
+ urlTemplate: 'https://starsofdesign.com/designers?q={search_term_string}',
+ },
+ 'query-input': 'required name=search_term_string',
+ },
+ },
+ {
+ '@type': 'Organization',
+ '@id': 'https://starsofdesign.com/#org',
+ name: 'Designer Wallcoverings',
+ url: 'https://designerwallcoverings.com/',
+ },
+ ],
+ };
res.render('public/home', {
title: 'Stars of Design — A Profile Directory of the Designers Who Shape Interiors',
designers: sortDesigners(all, sortKey),
total: all.length,
sortKey,
filter: {},
+ json_ld,
});
} catch (e) { next(e); }
});
← 044e06c starsofdesign: JSON-LD Person schema on /clients/:slug (DW c
·
back to Stars of Design
·
starsofdesign: BreadcrumbList JSON-LD across all 3 detail pa ed2f2d8 →