openvibers/openvibe.food Commits
Structured data names list items as the page shows them (the release browser check failed the home's list) (#77)
Changes
@@@ -149,7 +149,7 @@ ${watchable ? html`<p class="muted small">Watch for changes opens OpenVibe.Watchdescription: 'Find food banks and budget grocers, plan cheap meals with the shopping list and its cost, cook from your cupboard and compare delivery apps.',jsonLd: [...homeJsonLd(config),-- seo.jsonLd.itemList('The most food for a dollar on OpenVibe.Food', byKcal.map((f) => ({ name: `${shortName(f)}: ${f.kcal_per_dollar} calories for $1 (typical price)`, url: `${base}/foods/${f.slug}` })), { url: `${base}/foods` }),++ seo.jsonLd.itemList('The most food for a dollar on OpenVibe.Food', byKcal.map((f) => ({ name: shortName(f), url: `${base}/foods/${f.slug}` })), { url: `${base}/foods` }),FAQ.length ? seo.jsonLd.faq(FAQ.map((f) => ({ q: f.question, a: f.answer }))) : null,],styles: [showcase.STYLESHEET], localStyles: ['css/home.css'],
@@ -149,7 +149,7 @@ ${watchable ? html`<p class="muted small">Watch for changes opens OpenVibe.Watch
@@ -149,7 +149,7 @@ ${watchable ? html`<p class="muted small">Watch for changes opens OpenVibe.Watch
description: 'Find food banks and budget grocers, plan cheap meals with the shopping list and its cost, cook from your cupboard and compare delivery apps.',
description: 'Find food banks and budget grocers, plan cheap meals with the shopping list and its cost, cook from your cupboard and compare delivery apps.',
jsonLd: [
jsonLd: [
...homeJsonLd(config),
...homeJsonLd(config),
- seo.jsonLd.itemList('The most food for a dollar on OpenVibe.Food', byKcal.map((f) => ({ name: `${shortName(f)}: ${f.kcal_per_dollar} calories for $1 (typical price)`, url: `${base}/foods/${f.slug}` })), { url: `${base}/foods` }),
+ seo.jsonLd.itemList('The most food for a dollar on OpenVibe.Food', byKcal.map((f) => ({ name: shortName(f), url: `${base}/foods/${f.slug}` })), { url: `${base}/foods` }),
FAQ.length ? seo.jsonLd.faq(FAQ.map((f) => ({ q: f.question, a: f.answer }))) : null,
FAQ.length ? seo.jsonLd.faq(FAQ.map((f) => ({ q: f.question, a: f.answer }))) : null,
],
],
styles: [showcase.STYLESHEET], localStyles: ['css/home.css'],
styles: [showcase.STYLESHEET], localStyles: ['css/home.css'],