neuer versuch.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
|
||||
export function generateFaqSchema(questions: Record<string, { question: string; answer: string }>) {
|
||||
return {
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'FAQPage',
|
||||
mainEntity: Object.values(questions).map((item) => ({
|
||||
'@type': 'Question',
|
||||
@@ -21,7 +19,6 @@ export function generateSoftwareAppSchema(
|
||||
applicationCategory: string = 'UtilitiesApplication'
|
||||
) {
|
||||
return {
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'SoftwareApplication',
|
||||
name,
|
||||
applicationCategory,
|
||||
@@ -31,6 +28,7 @@ export function generateSoftwareAppSchema(
|
||||
'@type': 'Offer',
|
||||
price: '0',
|
||||
priceCurrency: 'USD',
|
||||
availability: 'https://schema.org/InStock',
|
||||
},
|
||||
aggregateRating: {
|
||||
'@type': 'AggregateRating',
|
||||
|
||||
Reference in New Issue
Block a user