mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 03:07:04 +02:00
22 lines
451 B
Plaintext
22 lines
451 B
Plaintext
---
|
|||
|
|
import { imgur } from '@blitzkit/core';
|
||
|
|
import { type Tool } from '../constants/tools';
|
||
|
|
|
||
|
|
interface Props {
|
||
|
|
tool: Tool;
|
||
|
|
}
|
||
|
|
|
||
|
|
const { tool } = Astro.props;
|
||
|
|
---
|
||
|
|
|
||
|
|
<title>{tool.title}</title>
|
||
|
|
<meta property="og:image" content={imgur(tool.image)} />
|
||
|
|
|
||
|
|
{
|
||
|
|
tool.pageDescription !== undefined && (
|
||
|
|
<>
|
||
|
|
<meta name="description" content={tool.pageDescription} />
|
||
|
|
<meta property="og:description" content={tool.pageDescription} />
|
||
|
|
</>
|
||
|
|
)
|
||
|
|
}
|