mirror of
https://github.com/barthuijgen/factorio-sites.git
synced 2024-11-21 18:16:33 +02:00
Add metadata for images
This commit is contained in:
parent
0b357aa028
commit
0bc6db012f
@ -96,6 +96,17 @@ export const BlueprintSubPage: React.FC<BlueprintProps> = ({
|
||||
<title>
|
||||
{(blueprint_page.title ? `${blueprint_page.title} - ` : "") + "Factorio blueprints"}
|
||||
</title>
|
||||
<meta
|
||||
property="og:title"
|
||||
content={
|
||||
(blueprint_page.title ? `${blueprint_page.title} - ` : "") + "Factorio blueprints"
|
||||
}
|
||||
key="title"
|
||||
/>
|
||||
<meta
|
||||
property="og:image"
|
||||
content={`https://storage.googleapis.com/blueprint-images/300/${blueprint_page.image_hash}.webp`}
|
||||
/>
|
||||
</Head>
|
||||
<Panel
|
||||
className="image"
|
||||
|
@ -147,6 +147,17 @@ export const BlueprintBookSubPage: React.FC<BlueprintBookSubPageProps> = ({
|
||||
<title>
|
||||
{(blueprint_page.title ? `${blueprint_page.title} - ` : "") + "Factorio blueprints"}
|
||||
</title>
|
||||
<meta
|
||||
property="og:title"
|
||||
content={
|
||||
(blueprint_page.title ? `${blueprint_page.title} - ` : "") + "Factorio blueprints"
|
||||
}
|
||||
key="title"
|
||||
/>
|
||||
<meta
|
||||
property="og:image"
|
||||
content={`https://storage.googleapis.com/blueprint-images/300/${blueprint_page.image_hash}.webp`}
|
||||
/>
|
||||
</Head>
|
||||
<Panel
|
||||
className="child-tree"
|
||||
|
Loading…
Reference in New Issue
Block a user