feat: page descriptions

This commit is contained in:
TrèsAbhi committed 2024-04-03 21:58:38 -05:00
1 parent 7093662130
commit 57dced109a
2 files changed
+15 -13

No files matched your search

+8 -1
View File
@@ -19,7 +19,14 @@ export default function ToolsLayout({ children }: ToolsLayoutProps) {
return (
<>
{tool && <title>{tool.title}</title>}
{tool && (
<>
<title>{tool.title}</title>
{tool.pageDescription !== undefined && (
<meta name="description" content={tool.pageDescription} />
)}
</>
)}
{pathSplit.length === 3 && (
<div