From b7780cb29b46e2f8141f809504c88dd29291cc74 Mon Sep 17 00:00:00 2001 From: yuubinnkyoku <137483288+yuubinnkyoku@users.noreply.github.com> Date: Sat, 21 Dec 2024 06:10:40 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20front-matter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../content/docs/front-matter/index.ja.md | 86 +++++++++---------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/exampleSite/content/docs/front-matter/index.ja.md b/exampleSite/content/docs/front-matter/index.ja.md index c8ee7e02..04469ab9 100644 --- a/exampleSite/content/docs/front-matter/index.ja.md +++ b/exampleSite/content/docs/front-matter/index.ja.md @@ -2,57 +2,57 @@ title: "Front Matter" weight: 7 draft: false -description: "All the front matter variables available in Blowfish." +description: "Blowfish で利用可能なすべての Front Matter 変数。" slug: "front-matter" tags: ["front matter", "config", "docs"] series: ["Documentation"] series_order: 7 --- -In addition to the [default Hugo front matter parameters](https://gohugo.io/content-management/front-matter/#front-matter-variables), Blowfish adds a number of additional options to customise the presentation of individual articles. All the available theme front matter parameters are listed below. +[デフォルトの Hugo Front Matter パラメータ](https://gohugo.io/content-management/front-matter/#front-matter-variables) に加えて、Blowfish は個々の記事の表示をカスタマイズするための追加オプションを多数追加しています。利用可能なテーマの Front Matter パラメータはすべて以下にリストされています。 -Front matter parameter default values are inherited from the theme's [base configuration]({{< ref "configuration" >}}), so you only need to specify these parameters in your front matter when you want to override the default. +Front Matter パラメータのデフォルト値は、テーマの [基本設定]({{< ref "configuration" >}}) から継承されるため、デフォルトを上書きする場合にのみ、Front Matter でこれらのパラメータを指定する必要があります。 -| Name | Default | Description | +| 名前 | デフォルト | 説明 | | ----------------------------- | --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `title` | _Not set_ | The name of the article. | -| `description` | _Not set_ | The text description for the article. It is used in the HTML metadata. | -| `externalUrl` | _Not set_ | If this article is published on a third-party website, the URL to this article. Providing a URL will prevent a content page being generated and any references to this article will link directly to the third-party website. | -| `editURL` | `article.editURL` | When `showEdit` is active, the URL for the edit link. | -| `editAppendPath` | `article.editAppendPath` | When `showEdit` is active, whether or not the path to the current article should be appended to the URL set at `editURL`. | -| `groupByYear` | `list.groupByYear` | Whether or not articles are grouped by year on list pages. | -| `menu` | _Not set_ | When a value is provided, a link to this article will appear in the named menus. Valid values are `main` or `footer`. | -| `robots` | _Not set_ | String that indicates how robots should handle this article. If set, it will be output in the page head. Refer to [Google's docs](https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives) for valid values. | -| `sharingLinks` | `article.sharingLinks` | Which sharing links to display at the end of this article. When not provided, or set to `false` no links will be displayed. | -| `showAuthor` | `article.showAuthor` | Whether or not the author box for the default author is displayed in the article footer. | -| `showAuthorBottom` | `article.showAuthorBottom` | Author boxes are displayed at the bottom of each page instead of the top. | -| `authors` | _Not set_ | Array of values for authors, if set it overrides `showAuthor` settings for page or site. Used on the multiple authors feature, check [this page]({{< ref "multi-author" >}}) for more details on how to configure that feature. | -| `showAuthorsBadges` | `article.showAuthorsBadges` | Whether the `authors` taxonomies are are displayed in the article or list header. This requires the setup of `multiple authors` and the `authors` taxonomy. Check [this page]({{< ref "multi-author" >}}) for more details on how to configure that feature. | -| `featureimage` | _Not set_ | External URL for feature image | -| `featureimagecaption` | _Not set_ | Caption for feature image. Only displayed in heroStyle `big` | -| `showHero` | `article.showHero` | Whether the thumbnail image will be shown as a hero image within the article page. | -| `heroStyle` | `article.heroStyle` | Style to display the hero image, valid options are: `basic`, `big`, `background`, `thumbAndBackground`. | -| `showBreadcrumbs` | `article.showBreadcrumbs` or `list.showBreadcrumbs` | Whether the breadcrumbs are displayed in the article or list header. | -| `showDate` | `article.showDate` | Whether or not the article date is displayed. The date is set using the `date` parameter. | -| `showDateUpdated` | `article.showDateUpdated` | Whether or not the date the article was updated is displayed. The date is set using the `lastmod` parameter. | -| `showEdit` | `article.showEdit` | Whether or not the link to edit the article content should be displayed. | -| `showHeadingAnchors` | `article.showHeadingAnchors` | Whether or not heading anchor links are displayed alongside headings within this article. | -| `showPagination` | `article.showPagination` | Whether or not the next/previous article links are displayed in the article footer. | -| `invertPagination` | `article.invertPagination` | Whether or not to flip the direction of the next/previous article links. | -| `showReadingTime` | `article.showReadingTime` | Whether or not the article reading time is displayed. | -| `showTaxonomies` | `article.showTaxonomies` | Whether or not the taxonomies that relate to this article are displayed. | -| `showTableOfContents` | `article.showTableOfContents` | Whether or not the table of contents is displayed on this article. | -| `showWordCount` | `article.showWordCount` | Whether or not the article word count is displayed. | -| `showComments` | `article.showComments` | Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer. | -| `showSummary` | `list.showSummary` | Whether or not the article summary should be displayed on list pages. | -| `showViews` | `article.showViews` | Whether or not the article views should be displayed in lists and detailed view. This requires a firebase integration. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish | -| `showLikes` | `article.showLikes` | Whether or not the article likes should be displayed in lists and detailed view. This requires a firebase integration. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish | -| `seriesOpened` | `article.seriesOpened` | Whether or not the series module will be displayed open by default or not. | -| `series` | _Not set_ | Array of series the article belongs to, we recommend using only one series per article. | -| `series_order` | _Not set_ | Number of the article within the series. | -| `summary` | Auto generated using `summaryLength` (see [site configuration]({{< ref "configuration#site-configuration" >}})) | When `showSummary` is enabled, this is the Markdown string to be used as the summary for this article. | -| `xml` | `true` unless excluded by `sitemap.excludedKinds` | Whether or not this article is included in the generated `/sitemap.xml` file. | -| `layoutBackgroundBlur` | `true` | Makes the background image in the background heroStyle blur with the scroll | -| `layoutBackgroundHeaderSpace` | `true` | Add space between the header and the body. | +| `title` | _未設定_ | 記事の名前。 | +| `description` | _未設定_ | 記事のテキスト説明。HTML メタデータで使用されます。 | +| `externalUrl` | _未設定_ | この記事がサードパーティの Web サイトで公開されている場合、この記事への URL。URL を指定すると、コンテンツページの生成が妨げられ、この記事への参照はすべてサードパーティの Web サイトに直接リンクされます。 | +| `editURL` | `article.editURL` | `showEdit` がアクティブな場合、編集リンクの URL。 | +| `editAppendPath` | `article.editAppendPath` | `showEdit` がアクティブな場合、現在の記事へのパスを `editURL` で設定された URL に追加するかどうか。 | +| `groupByYear` | `list.groupByYear` | リストページで記事を年別にグループ化するかどうか。 | +| `menu` | _未設定_ | 値を指定すると、この記事へのリンクが名前付きメニューに表示されます。有効な値は `main` または `footer` です。 | +| `robots` | _未設定_ | ロボットがこの記事をどのように処理するかを示す文字列。設定されている場合、ページヘッドに出力されます。有効な値については、[Google のドキュメント](https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives) を参照してください。 | +| `sharingLinks` | `article.sharingLinks` | この記事の最後に表示する共有リンク。指定されていない場合、または `false` に設定されている場合、リンクは表示されません。 | +| `showAuthor` | `article.showAuthor` | 記事のフッターにデフォルトの著者の著者ボックスを表示するかどうか。 | +| `showAuthorBottom` | `article.showAuthorBottom` | 著者ボックスは、各ページの上部ではなく下部に表示されます。 | +| `authors` | _未設定_ | 著者の値の配列。設定されている場合、ページまたはサイトの `showAuthor` 設定を上書きします。複数著者の機能で使用されます。この機能の設定方法の詳細については、[このページ]({{< ref "multi-author" >}}) をご覧ください。 | +| `showAuthorsBadges` | `article.showAuthorsBadges` | 記事またはリストヘッダーに `authors` タクソノミーを表示するかどうか。これには、`複数著者` と `authors` タクソノミーの設定が必要です。この機能の設定方法の詳細については、[このページ]({{< ref "multi-author" >}}) をご覧ください。 | +| `featureimage` | _未設定_ | フィーチャー画像の外部 URL | +| `featureimagecaption` | _未設定_ | フィーチャー画像のキャプション。heroStyle `big` でのみ表示されます | +| `showHero` | `article.showHero` | 記事ページ内でサムネイル画像をヒーロー画像として表示するかどうか。 | +| `heroStyle` | `article.heroStyle` | ヒーロー画像の表示スタイル。有効なオプションは、`basic`、`big`、`background`、`thumbAndBackground` です。 | +| `showBreadcrumbs` | `article.showBreadcrumbs` または `list.showBreadcrumbs` | 記事またはリストヘッダーにパンくずリストを表示するかどうか。 | +| `showDate` | `article.showDate` | 記事の日付を表示するかどうか。日付は `date` パラメータを使用して設定されます。 | +| `showDateUpdated` | `article.showDateUpdated` | 記事が更新された日付を表示するかどうか。日付は `lastmod` パラメータを使用して設定されます。 | +| `showEdit` | `article.showEdit` | 記事コンテンツを編集するためのリンクを表示するかどうか。 | +| `showHeadingAnchors` | `article.showHeadingAnchors` | この記事の見出しの横に見出しアンカーリンクを表示するかどうか。 | +| `showPagination` | `article.showPagination` | 記事のフッターに次/前の記事へのリンクを表示するかどうか。 | +| `invertPagination` | `article.invertPagination` | 次/前の記事へのリンクの方向を反転するかどうか。 | +| `showReadingTime` | `article.showReadingTime` | 記事の閲覧時間を表示するかどうか。 | +| `showTaxonomies` | `article.showTaxonomies` | この記事に関連するタクソノミーを表示するかどうか。 | +| `showTableOfContents` | `article.showTableOfContents` | この記事に目次を表示するかどうか。 | +| `showWordCount` | `article.showWordCount` | 記事の単語数を表示するかどうか。 | +| `showComments` | `article.showComments` | 記事のフッターの後に [コメントパーシャル]({{< ref "partials#comments" >}}) を含めるかどうか。 | +| `showSummary` | `list.showSummary` | リストページに記事の要約を表示するかどうか。 | +| `showViews` | `article.showViews` | リストと詳細ビューに記事の閲覧数を表示するかどうか。これには Firebase の統合が必要です。Firebase を Blowfish に統合する方法については、[このページ]({{< ref "firebase-views" >}}) をご覧ください。 | +| `showLikes` | `article.showLikes` | リストと詳細ビューに記事のいいねを表示するかどうか。これには Firebase の統合が必要です。Firebase を Blowfish に統合する方法については、[このページ]({{< ref "firebase-views" >}}) をご覧ください。 | +| `seriesOpened` | `article.seriesOpened` | シリーズモジュールをデフォルトで開いて表示するかどうか。 | +| `series` | _未設定_ | 記事が属するシリーズの配列。記事ごとに 1 つのシリーズのみを使用することをお勧めします。 | +| `series_order` | _未設定_ | シリーズ内の記事の番号。 | +| `summary` | `summaryLength` を使用して自動生成されます ([サイト設定]({{< ref "configuration#site-configuration" >}}) を参照) | `showSummary` が有効な場合、この記事の要約として使用される Markdown 文字列。 | +| `xml` | `sitemap.excludedKinds` によって除外されない限り `true` | この記事が生成された `/sitemap.xml` ファイルに含まれるかどうか。 | +| `layoutBackgroundBlur` | `true` | background heroStyle の背景画像をスクロールでぼかします | +| `layoutBackgroundHeaderSpace` | `true` | ヘッダーと本文の間にスペースを追加します |