Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 64eba6e

Browse files
authored
Translate docs/add-page-metadata (#140)
Translate docs/add-page-metadata
2 parents dc48f97 + a7ba7c9 commit 64eba6e

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/docs/add-page-metadata.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
---
2-
title: Adding Page Metadata
2+
title: ページのメタデータを追加する
33
---
44

5-
If you've run an [audit with Lighthouse](/docs/audit-with-lighthouse/), you may have noticed a lackluster score in the "SEO" category. Let's address how you can improve that score.
5+
[Lighthouse による評価](/docs/audit-with-lighthouse/) を実施したときに、SEO カテゴリのスコアが良くないことに気づいたかもしれません。ここではスコアを上げる方法について紹介します。
66

7-
Adding metadata to pages (such as a title or description) is key in helping search engines like Google understand your content, and decide when to surface it in search results.
7+
ページにメタデータ(タイトルや説明など)を追加することは、Google などの検索エンジンにコンテンツを理解させ、検索結果で上位表示をするために重要です。
88

9-
[React Helmet](https://github.com/nfl/react-helmet) is a package that provides a React component interface for you to manage your [document head](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head).
9+
[React Helmet](https://github.com/nfl/react-helmet) は、[ドキュメントヘッド](https://developer.mozilla.org/ja-JP/docs/Web/HTML/Element/head)を管理するための React コンポーネントインターフェイスを提供するパッケージです。
1010

11-
Gatsby's [react helmet plugin](/packages/gatsby-plugin-react-helmet/) provides drop-in support for server rendering data added with React Helmet. Using the plugin, attributes you add to React Helmet will be added to the static HTML pages that Gatsby builds.
11+
Gatsby[React Helmet プラグイン](/packages/gatsby-plugin-react-helmet/)は、React Helmet で追加されたサーバーレンダリングデータのドロップインサポートを提供します。プラグインを使用すると、React Helmet に追加した属性が Gatsby がビルドする静的 HTML ページに追加されます。
1212

13-
## Using `React Helmet` and `gatsby-plugin-react-helmet`
13+
## `React Helmet` `gatsby-plugin-react-helmet` を使用する
1414

15-
1. Install both packages:
15+
1. 両方のパッケージをインストールします。
1616

1717
```shell
1818
npm install --save gatsby-plugin-react-helmet react-helmet
1919
```
2020

21-
2. Add the plugin to the `plugins` array in your `gatsby-config.js` file.
21+
2. プラグインを `gatsby-config.js` ファイルの `plugins` 配列に追加します。
2222

2323
```javascript:title=gatsby-config.js
2424
{
2525
plugins: [`gatsby-plugin-react-helmet`]
2626
}
2727
```
2828

29-
3. Use `React Helmet` in your pages:
29+
3. ページ内に `React Helmet` を追加します。
3030

3131
```jsx
3232
import React from "react"
@@ -49,6 +49,6 @@ class Application extends React.Component {
4949
}
5050
```
5151

52-
> 💡 The above example is from the [React Helmet docs](https://github.com/nfl/react-helmet#example). Check those out for more!
52+
> 💡 上の例は [React Helmet ドキュメント](https://github.com/nfl/react-helmet#example) からのものです。詳細をご覧ください!
5353
54-
You may also be interested in checking out the doc on [adding an SEO component](/docs/add-seo-component/).
54+
また、[SEO コンポーネントを追加](/docs/add-seo-component/) も参考になるでしょう。

0 commit comments

Comments
 (0)