meta description

This commit is contained in:
hamid zarghami
2025-08-19 13:10:12 +03:30
parent 922b62909c
commit 9ca7b3b6d8
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export async function generateMetadata(
return { return {
title: service.data.danakService.pageTitle || 'محصولات داناک' + ' | ' + service.data.danakService.name, title: service.data.danakService.pageTitle || 'محصولات داناک' + ' | ' + service.data.danakService.name,
description: (service.data.danakService.metaDescription || '').replace(/<[^>]*>/g, ''), description: service.data.danakService.pageDescription,
} }
} }
+1
View File
@@ -61,6 +61,7 @@ export interface DanakService {
coverUrl: string; coverUrl: string;
slug: string; slug: string;
pageTitle: string; pageTitle: string;
pageDescription: string;
category: { category: {
id: string; id: string;
title: string; title: string;