Skip to content

Commit 54eef23

Browse files
committed
website: updates
1 parent 20afae5 commit 54eef23

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

website/blog/2024-10-05-web-site.md renamed to website/blog/2024-10-05-web-site.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,16 @@ tags:
1515

1616
---
1717

18-
<head><title>{frontMatter.title}</title></head>
18+
import {PageMetadata} from '@docusaurus/theme-common';
1919

2020
In October 2024, after some experimentation with modern site generators,
2121
each project in the **xPack Binary Development Tools** collection now
2222
has its own dedicated website.
2323

2424
<!--truncate-->
2525

26+
<PageMetadata title={frontMatter.seo_title} />
27+
2628
In addition, the collection itself
2729
features a central site that serves as a table of contents, listing
2830
all projects.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/*
2+
* DO NOT EDIT!
3+
* Automatically generated from xbb-helper/templates/docusaurus/common.
4+
*
5+
* This file is part of the xPack project (http://xpack.github.io).
6+
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
7+
*
8+
* Permission to use, copy, modify, and/or distribute this software
9+
* for any purpose is hereby granted, under the terms of the MIT license.
10+
*
11+
* If a copy of the license was not distributed with this file, it can
12+
* be obtained from https://opensource.org/licenses/MIT/.
13+
*/
14+
15+
// import React from 'react';
16+
import Head from '@docusaurus/Head';
17+
18+
/*
19+
* Use this component for plain titles, without the site title appended.
20+
*/
21+
22+
export default function HeadTitle({title}): JSX.Element {
23+
return (
24+
<Head>
25+
<title>{title}</title>
26+
<meta property="og:title" content={title} />
27+
</Head>
28+
);
29+
}

0 commit comments

Comments
 (0)