mirror of
				https://github.com/walkxcode/dashboard-icons.git
				synced 2025-10-31 08:47:57 +01:00 
			
		
		
		
	Update metadata to include robots
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| import { HeroSection } from "@/components/hero" | ||||
| import { RecentlyAddedIcons } from "@/components/recently-added-icons" | ||||
| import { BASE_URL, getDescription, REPO_NAME, websiteTitle } from "@/constants" | ||||
| import { BASE_URL, REPO_NAME, getDescription, websiteTitle } from "@/constants" | ||||
| import { getRecentlyAddedIcons, getTotalIcons } from "@/lib/api" | ||||
| import type { Metadata } from "next" | ||||
|  | ||||
| @@ -11,6 +11,10 @@ export async function generateMetadata(): Promise<Metadata> { | ||||
| 		title: websiteTitle, | ||||
| 		description: getDescription(totalIcons), | ||||
| 		keywords: ["dashboard icons", "service icons", "application icons", "tool icons", "web dashboard", "app directory"], | ||||
| 		robots: { | ||||
| 			index: true, | ||||
| 			follow: true, | ||||
| 		}, | ||||
| 		openGraph: { | ||||
| 			title: websiteTitle, | ||||
| 			description: getDescription(totalIcons), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user