seo: add meta description (tool.summary) to all tool pages
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@ import { getToolByHref } from '@/lib/tools';
|
|||||||
|
|
||||||
const tool = getToolByHref('/ascii')!;
|
const tool = getToolByHref('/ascii')!;
|
||||||
|
|
||||||
export const metadata: Metadata = { title: tool.title };
|
export const metadata: Metadata = { title: tool.title, description: tool.summary };
|
||||||
|
|
||||||
export default function ASCIIPage() {
|
export default function ASCIIPage() {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { getToolByHref } from '@/lib/tools';
|
|||||||
|
|
||||||
const tool = getToolByHref('/color')!;
|
const tool = getToolByHref('/color')!;
|
||||||
|
|
||||||
export const metadata: Metadata = { title: tool.title };
|
export const metadata: Metadata = { title: tool.title, description: tool.summary };
|
||||||
|
|
||||||
export default function ColorPage() {
|
export default function ColorPage() {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { getToolByHref } from '@/lib/tools';
|
|||||||
|
|
||||||
const tool = getToolByHref('/favicon')!;
|
const tool = getToolByHref('/favicon')!;
|
||||||
|
|
||||||
export const metadata: Metadata = { title: tool.title };
|
export const metadata: Metadata = { title: tool.title, description: tool.summary };
|
||||||
|
|
||||||
export default function FaviconPage() {
|
export default function FaviconPage() {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { getToolByHref } from '@/lib/tools';
|
|||||||
|
|
||||||
const tool = getToolByHref('/media')!;
|
const tool = getToolByHref('/media')!;
|
||||||
|
|
||||||
export const metadata: Metadata = { title: tool.title };
|
export const metadata: Metadata = { title: tool.title, description: tool.summary };
|
||||||
|
|
||||||
export default function MediaPage() {
|
export default function MediaPage() {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { getToolByHref } from '@/lib/tools';
|
|||||||
|
|
||||||
const tool = getToolByHref('/qrcode')!;
|
const tool = getToolByHref('/qrcode')!;
|
||||||
|
|
||||||
export const metadata: Metadata = { title: tool.title };
|
export const metadata: Metadata = { title: tool.title, description: tool.summary };
|
||||||
|
|
||||||
export default function QRCodePage() {
|
export default function QRCodePage() {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { getToolByHref } from '@/lib/tools';
|
|||||||
|
|
||||||
const tool = getToolByHref('/units')!;
|
const tool = getToolByHref('/units')!;
|
||||||
|
|
||||||
export const metadata: Metadata = { title: tool.title };
|
export const metadata: Metadata = { title: tool.title, description: tool.summary };
|
||||||
|
|
||||||
export default function UnitsPage() {
|
export default function UnitsPage() {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user