Skip to content

Commit

Permalink
website: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Oct 15, 2024
1 parent c297c6d commit 85cd3b3
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 26 deletions.
11 changes: 5 additions & 6 deletions website/blog/2022-12-11-sed-v4-9-0-1-released.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: xPack GNU sed v4.9.0-1 released
seo_title: Version 4.9.0-1 released
description: Version 4.9.0-1 is the first release of xPack GNU sed.
keywords:
- xpack
Expand All @@ -25,17 +26,15 @@ download_url: https://github.com/xpack-dev-tools/sed-xpack/releases/tag/v4.9.0-1

---

<head>
<title>{frontMatter.title}</title>
<meta property="og:title" content={frontMatter.title} />
</head>
import {PageMetadata} from '@docusaurus/theme-common';
import Image from '@theme/IdealImage';
import CodeBlock from '@theme/CodeBlock';

Version **4.9.0-1** is the first release.

<!-- truncate -->

import Image from '@theme/IdealImage';
import CodeBlock from '@theme/CodeBlock';
<PageMetadata title={frontMatter.seo_title} />

The [xPack GNU sed](https://xpack-dev-tools.github.io/sed-xpack/)
is a standalone cross-platform binary distribution of
Expand Down
11 changes: 5 additions & 6 deletions website/blog/2023-01-29-sed-v4-9-0-2-released.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: xPack GNU sed v4.9.0-2 released
seo_title: Version 4.9.0-2 released
description: Version 4.9.0-2 is a maintenance release of xPack GNU sed.
keywords:
- xpack
Expand All @@ -25,17 +26,15 @@ download_url: https://github.com/xpack-dev-tools/sed-xpack/releases/tag/v4.9.0-2

---

<head>
<title>{frontMatter.title}</title>
<meta property="og:title" content={frontMatter.title} />
</head>
import {PageMetadata} from '@docusaurus/theme-common';
import Image from '@theme/IdealImage';
import CodeBlock from '@theme/CodeBlock';

Version **4.9.0-2** is a maintenance release, built with the latest build scripts.

<!-- truncate -->

import Image from '@theme/IdealImage';
import CodeBlock from '@theme/CodeBlock';
<PageMetadata title={frontMatter.seo_title} />

The [xPack GNU sed](https://xpack-dev-tools.github.io/sed-xpack/)
is a standalone cross-platform binary distribution of
Expand Down
11 changes: 5 additions & 6 deletions website/blog/2023-09-06-sed-v4-9-0-3-released.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: xPack GNU sed v4.9.0-3 released
seo_title: Version 4.9.0-3 released
description: Version 4.9.0-3 is a maintenance release of xPack GNU sed.
keywords:
- xpack
Expand All @@ -26,17 +27,15 @@ download_url: https://github.com/xpack-dev-tools/sed-xpack/releases/tag/v4.9.0-3

---

<head>
<title>{frontMatter.title}</title>
<meta property="og:title" content={frontMatter.title} />
</head>
import {PageMetadata} from '@docusaurus/theme-common';
import Image from '@theme/IdealImage';
import CodeBlock from '@theme/CodeBlock';

Version **4.9.0-3** is a maintenance release, built with the latest tools.

<!-- truncate -->

import Image from '@theme/IdealImage';
import CodeBlock from '@theme/CodeBlock';
<PageMetadata title={frontMatter.seo_title} />

The [xPack GNU sed](https://xpack-dev-tools.github.io/sed-xpack/)
is a standalone cross-platform binary distribution of
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ tags:

---

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

After some experimentation with modern site generators,
the **xPack GNU sed** project has a new web site.

<!--truncate-->

<PageMetadata title={frontMatter.seo_title} />

## MDX

The _new kid on the block_ is [MDX](https://mdxjs.com), that is a solution
Expand Down
15 changes: 8 additions & 7 deletions website/blog/_templates/blog-post-release-part-1-liquid.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ download_url: https://github.com/xpack-dev-tools/sed-xpack/releases/tag/v{{relea

---

<head><title>{frontMatter.title}</title></head>
import {PageMetadata} from '@docusaurus/theme-common';
import Image from '@theme/IdealImage';
import CodeBlock from '@theme/CodeBlock';

import Prerequisites from './_common/_prerequisites-glib-2.27.mdx'
import DeprecationNotices from './_common/_deprecation-notices-glib-2.27.mdx'
import DownloadAnalytics from './_common/_download-analytics.mdx'

TODO: select one summary

Expand All @@ -36,12 +42,7 @@ Version **{{releaseVersion}}** is a new release; it follows the upstream release

<!-- truncate -->

import Image from '@theme/IdealImage';
import CodeBlock from '@theme/CodeBlock';

import Prerequisites from './_common/_prerequisites-glib-2.27.mdx'
import DeprecationNotices from './_common/_deprecation-notices-glib-2.27.mdx'
import DownloadAnalytics from './_common/_download-analytics.mdx'
<PageMetadata title={frontMatter.seo_title} />

The [xPack GNU sed](https://xpack-dev-tools.github.io/sed-xpack/)
is a standalone cross-platform binary distribution of
Expand Down
29 changes: 29 additions & 0 deletions website/src/components/HeadTitle/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* DO NOT EDIT!
* Automatically generated from xbb-helper/templates/docusaurus/common.
*
* This file is part of the xPack project (http://xpack.github.io).
* Copyright (c) 2024 Liviu Ionescu. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software
* for any purpose is hereby granted, under the terms of the MIT license.
*
* If a copy of the license was not distributed with this file, it can
* be obtained from https://opensource.org/licenses/MIT/.
*/

// import React from 'react';
import Head from '@docusaurus/Head';

/*
* Use this component for plain titles, without the site title appended.
*/

export default function HeadTitle({title}): JSX.Element {
return (
<Head>
<title>{title}</title>
<meta property="og:title" content={title} />
</Head>
);
}

0 comments on commit 85cd3b3

Please sign in to comment.