From 67e026efd733faef15c72990afac7522c90d1f2c Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Sat, 16 Mar 2024 17:40:14 +0900 Subject: [PATCH 01/15] translate: dummy authors (japanese) --- exampleSite/content/authors/nunocoracao/_index.ja.md | 5 +++++ exampleSite/content/authors/secondauthor/_index.ja.md | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 exampleSite/content/authors/nunocoracao/_index.ja.md create mode 100644 exampleSite/content/authors/secondauthor/_index.ja.md diff --git a/exampleSite/content/authors/nunocoracao/_index.ja.md b/exampleSite/content/authors/nunocoracao/_index.ja.md new file mode 100644 index 00000000..aba47315 --- /dev/null +++ b/exampleSite/content/authors/nunocoracao/_index.ja.md @@ -0,0 +1,5 @@ +--- +title: "Nuno Coração" +--- + +Nuno の素晴らしいダミープロフィールです。 diff --git a/exampleSite/content/authors/secondauthor/_index.ja.md b/exampleSite/content/authors/secondauthor/_index.ja.md new file mode 100644 index 00000000..6cd94497 --- /dev/null +++ b/exampleSite/content/authors/secondauthor/_index.ja.md @@ -0,0 +1,5 @@ +--- +title: "2人目のダミー作者" +--- + +2人目のダミー作者の素晴らしいダミープロフィールです。 From 74bd2b2b350d9f0172fd93d24ce353210bbfce23 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Wed, 20 Mar 2024 10:52:30 +0900 Subject: [PATCH 02/15] translate: samples/thumbnail_sample into japanese --- .../samples/thumbnail_sample/index.ja.md | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 exampleSite/content/samples/thumbnail_sample/index.ja.md diff --git a/exampleSite/content/samples/thumbnail_sample/index.ja.md b/exampleSite/content/samples/thumbnail_sample/index.ja.md new file mode 100644 index 00000000..af606f12 --- /dev/null +++ b/exampleSite/content/samples/thumbnail_sample/index.ja.md @@ -0,0 +1,38 @@ +--- +title: "サムネイル" +date: 2022-09-26 +draft: false +description: "記事のサムネイルを変更する。" +slug: "thumbnail_sample" +tags: ["thumbnail", "sample"] +summary: "A quick example of how to start using Thumbnails in your artciles." +type: 'sample' +--- + +記事でどのようにサムネイルを利用するかの簡単な例です。 + +記事の平均的なディレクトリが以下のようなものだとしたら: + +```shell +content +└── awesome_article.md +``` + +単一の markdown ファイルから、フォルダーに入っている形式に変更する必要があります。記事の名前と同一のディレクトリを作成し、その中に `index.md` ファイルを作成します。このようにすると、以下のような構成になります。 + +```shell +content +└── awesome_article + └── featured.png +``` + +記事内に `feature*` から始まる名前の画像ファイル (ほとんど全てのフォーマットを対応していますが、 `.png` か `.jpg` を推奨しています) を追加できます。以下が例です。 + +```shell +content +└── awesome_article + ├── index.md + └── featured.png +``` + +これによって Blowfish は、記事のサムネイルをウェブサイトまたは SNS の oEmbed カードの紹介画像として利用できます。例としては、この記事の URL を oEmbeds を表示するプラットフォーム (例: Twitter, WhatsApp, Telegram など) にコピーペーストどのように表示されるかをご覧ください。 From f81f55ba9461efee4e0fcf0ba685db68058cd098 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Wed, 20 Mar 2024 11:06:49 +0900 Subject: [PATCH 03/15] translate: samples/multiple-authors into japanese --- .../content/samples/multiple-authors/index.ja.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 exampleSite/content/samples/multiple-authors/index.ja.md diff --git a/exampleSite/content/samples/multiple-authors/index.ja.md b/exampleSite/content/samples/multiple-authors/index.ja.md new file mode 100644 index 00000000..1da1d36b --- /dev/null +++ b/exampleSite/content/samples/multiple-authors/index.ja.md @@ -0,0 +1,15 @@ +--- +title: "複数人の著者" +date: 2022-10-12 +draft: false +description: "複数人の著者の設定方法のサンプル" +tags: ["authors", "sample"] +summary: "複数人の著者の利用方法の簡単な例。" +showAuthor: false +authors: + - "nunocoracao" + - "secondauthor" +type: 'sample' +--- + +これは、著者が複数人の記事がどのように見えるかの例です。 \ No newline at end of file From 4a58dae0a49daac9855aa15b9ea2aef205c368d8 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Thu, 21 Mar 2024 00:24:21 +0900 Subject: [PATCH 04/15] translate: samples into japanese --- exampleSite/content/samples/_index.ja.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 exampleSite/content/samples/_index.ja.md diff --git a/exampleSite/content/samples/_index.ja.md b/exampleSite/content/samples/_index.ja.md new file mode 100755 index 00000000..20e89fb8 --- /dev/null +++ b/exampleSite/content/samples/_index.ja.md @@ -0,0 +1,19 @@ +--- +title: "サンプル" +description: "Blowfish で何ができるのか閲覧する。" + +cascade: + showEdit: false + showSummary: false + hideFeatureImage: true +--- + +{{< lead >}} +Blowfish はあなたのコンテンツに命を宿します。:heart_eyes: +{{< /lead >}} + +このセクションは、 Blowfish で様々な種類のコンテンツをどのように表示するのかを紹介するデモページを含みます。例としては[分類一覧]({{< ref "tags" >}})ページも参考になります。 + +_**サイドノート:** このページは一般的な Blowfish のリストで、 Hugo が生成した `samples` コンテンツタイプと記事の要約を表示する様に設定しています。_ + +--- From 11463f399268102ce907b9f8272da5e8a7fa08e0 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Thu, 21 Mar 2024 18:41:33 +0900 Subject: [PATCH 05/15] change: space --- exampleSite/content/_index.ja.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/content/_index.ja.md b/exampleSite/content/_index.ja.md index 0a056721..e70f3ca7 100755 --- a/exampleSite/content/_index.ja.md +++ b/exampleSite/content/_index.ja.md @@ -14,7 +14,7 @@ description: "このページは Hugo の Blowfish テーマを利用して構 id="switch-layout-button" class="px-4 !text-neutral !no-underline rounded-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700" > - レイアウトを変更する ↻ + レイアウトを変更する↻ From 12f6b5b77caa6f55c2770efa43359078c429a072 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Thu, 21 Mar 2024 20:14:38 +0900 Subject: [PATCH 06/15] translate: samples/emoji into japanese --- exampleSite/content/samples/emoji/index.ja.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 exampleSite/content/samples/emoji/index.ja.md diff --git a/exampleSite/content/samples/emoji/index.ja.md b/exampleSite/content/samples/emoji/index.ja.md new file mode 100755 index 00000000..a8d91e72 --- /dev/null +++ b/exampleSite/content/samples/emoji/index.ja.md @@ -0,0 +1,20 @@ +--- +title: "絵文字 :parachute:" +date: 2019-03-05 +description: "Blowfihs での絵文字の利用方法についてのガイド" +summary: "📖🏞️🧗🏽🐉🧙🏽‍♂️🧚🏽👸" +tags: ["emoji", "sample"] +type: 'sample' +--- + +絵文字は Blowfish を通してデフォルトでサポートされています。絵文字はタイトル、メニューアイテム、そして記事のコンテンツで利用可能です。 + +{{< alert >}} +**ノート:** これらの図形のレンダリングはブラウザとプラットフォームに依存します。絵文字をスタイルするには、サードパーティ製の絵文字フォントを利用するか、フォントスタックを利用します。 +{{< /alert >}} + +絵文字の置換は Blowfish 全体を通して自動的に行われるため、コンテンツや表で省略符号を利用しても、ビルド時に対応する記号に変換されます。 + +**例:** `see_no_evil` :see_no_evil:, `hear_no_evil` :hear_no_evil:, `speak_no_evil` :speak_no_evil: + +[絵文字チートシート](http://www.emoji-cheat-sheet.com/)は絵文字ショートハンドコードのための便利な参照ページです。 From 811a9b5c1c42d97c515d613b2258205ad10ca70d Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Thu, 21 Mar 2024 20:41:13 +0900 Subject: [PATCH 07/15] translate: samples/external into japanese --- exampleSite/content/samples/external/index.ja.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 exampleSite/content/samples/external/index.ja.md diff --git a/exampleSite/content/samples/external/index.ja.md b/exampleSite/content/samples/external/index.ja.md new file mode 100755 index 00000000..f71363ed --- /dev/null +++ b/exampleSite/content/samples/external/index.ja.md @@ -0,0 +1,15 @@ +--- +title: "外部の記事" +date: 2019-01-24 +externalUrl: "https://nunocoracao.com/projects/" +summary: "`externalUrl` 表示は任意の URL にリンクすることができます。" +showReadingTime: true +_build: + render: "false" + list: "local" +type: 'sample' +--- + +このページは、 `externalUrl` 表示パラメータを利用して、この Hugo ウェブサイト外の記事とリンクしています。 + +Medium の当校へのリンクや、サードパーティのウェブサイトでホストしている研究論文へのリンクなどに最適です。 From c3a6c2ca27395ea9be6bededf509dd75cf2e6a36 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Fri, 22 Mar 2024 12:29:44 +0900 Subject: [PATCH 08/15] tanslate: samples/rich-content into japanese --- .../content/samples/rich-content/index.ja.md | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100755 exampleSite/content/samples/rich-content/index.ja.md diff --git a/exampleSite/content/samples/rich-content/index.ja.md b/exampleSite/content/samples/rich-content/index.ja.md new file mode 100755 index 00000000..6192786a --- /dev/null +++ b/exampleSite/content/samples/rich-content/index.ja.md @@ -0,0 +1,36 @@ +--- +title: "リッチコンテンツ" +date: 2019-03-10 +description: "Hugo ショートコードの簡単な説明" +summary: "This is an _example_ of a **rich** content summary." +tags: ["shortcodes", "privacy", "sample", "gist", "twitter", "youtube", "vimeo"] +type: 'sample' +--- + +Hugo ships with several [built-in shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) for rich content, along with a [privacy config](https://gohugo.io/about/hugo-and-gdpr/) and a set of _simple shortcodes_ that enable static and no-JS versions of various social media embeds. + +## YouTube + +下記のものは `youtube` ショートコードの組み込みを利用した例です。 + +{{< youtube ZJthWmvUzzc >}} + +## Twitter + +この例はツイートを `twitter_simple` ショートコードを利用して出力しています。こちらは `user` と `id` の二つのパラメータを必須としています。 + +{{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}} + +代わりとして、 `tweet` ショートコードが完全にマークアップされた Twitter カードの埋め込みに利用できます、 + +## Gist + +`gist` ショートコードは GitHub Gist の埋め込みに利用できます。こちらは Gist のユーザー名と ID の二つのパラメータを必須としています。 + +{{< gist nunocoracao 2779792841f7ffa7c7e62dc4d38626d4 >}} + +## Vimeo + +`vimeo_simple` ショートコードは Vimeo 動画を埋め込むことができます。 + +{{< vimeo_simple 48912912 >}} From 22b51a2275f612129854366a58503f26cb7e7f66 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Fri, 22 Mar 2024 12:48:20 +0900 Subject: [PATCH 09/15] translate: samples/markdown into japanese --- .../content/samples/markdown/index.ja.md | 146 ++++++++++++++++++ 1 file changed, 146 insertions(+) create mode 100755 exampleSite/content/samples/markdown/index.ja.md diff --git a/exampleSite/content/samples/markdown/index.ja.md b/exampleSite/content/samples/markdown/index.ja.md new file mode 100755 index 00000000..a1006832 --- /dev/null +++ b/exampleSite/content/samples/markdown/index.ja.md @@ -0,0 +1,146 @@ +--- +title: "Markdown" +date: 2019-03-11 +description: "基本的な Markdown 構文と HTML 要素のフォーマットを紹介するサンプル記事です。" +tags: ["markdown", "css", "html", "sample"] +type: 'sample' +--- + +この記事は Blowfish を利用した基本的な Markdown フォーマットのサンプルを提供し、また基本的な HTML 要素がどのように装飾できるのかを示しています。 + + + +## 見出し + +こちらは HTML の `

`—`

` 要素に相当する6種類の見出しを使用できます。 `

` が最大の見出しで、 `

` に近づくほど小さくなっていきます。 + +# H1 + +## H2 + +### H3 + +#### H4 + +##### H5 + +###### H6 + +## 段落 + +Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat. + +Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat. + +## ブロック引用 + +ブロック引用要素は、他の情報元から引用された内容を表します。 `footer` または `cite` 要素を使った引用や、注釈や省略形などの変更を伴うことも可能です。 + +### 出典なしのブロック引用 + +> Tiam, ad mint andaepu dandae nostion secatur sequo quae. +> **ノート** ブロック構文では、 _Markdown 構文_ を利用可能です。 + +### 出典ありのブロック引用 + +> Don't communicate by sharing memory, share memory by communicating.
+> — Rob Pike[^1] + +[^1]: 上記の引用は、2015年11月18日に開催された Gopherfest での Rob Pike’s の [`講演`](https://www.youtube.com/watch?v=PAAkCSZUG1c) からの抜粋です。 + +## テーブル + +テーブルは Markdown の仕様には含まれていません。しかし Hugp はテーブルをすぐに利用できるようサポートしています。 + +| 名前 | 年齢 | +| ----- | ---- | +| Bob | 27 | +| Alice | 23 | + +### テーブルないのインライン Markdown + +| 斜体 | 太字 | コード | +| ------ | -------- | -------- | +| _斜体_ | **太字** | `コード` | + +## コードブロック + +### バックチックによるコードブロック + +```html + + + + + HTML5 資料の例 + + +

テスト

+ + +``` + +### 4スペースのインデントによるコードブロック + + + + + + HTML5 資料の例 + + +

テスト

+ + + +### Hugo 内のショートコード・ハイライトを利用したコードブロック + +{{< highlight html "linenos=table,hl_lines=4 7-9" >}} + + + + + + HTML5 資料の例 + + +

テスト

+ + +{{< /highlight >}} + +## リスト形式 + +### 順序のあるリスト + +1. 1つ目のアイテム +2. 2つ目のアイテム +3. 3つ目のアイテム + +### 順序がないリスト + +- リストアイテム +- 他のアイテム +- 他のアイテム + +### 入れ子型リスト + +- 果実 + - りんご + - オレンジ + - バナナ +- 乳製品 + - 牛乳 + - チーズ + +## その他の要素 — abbr, sub, sup, kbd, mark + +GIF はビットマップ画像フォーマットです。 + +H2O + +Xn + Yn = Zn + +CTRL+ALT+Deleteを押すことでセッションを終了出来ます。 + +多くのサラマンダーは夜行性で、昆虫やミミズ、その他の生物を狩ります。 \ No newline at end of file From b06e9dc3037eda6543f054c64754faea554801e6 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Fri, 29 Mar 2024 23:50:53 +0900 Subject: [PATCH 10/15] translate: samples/charts into japanese --- .../content/samples/charts/index.ja.md | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100755 exampleSite/content/samples/charts/index.ja.md diff --git a/exampleSite/content/samples/charts/index.ja.md b/exampleSite/content/samples/charts/index.ja.md new file mode 100755 index 00000000..171df979 --- /dev/null +++ b/exampleSite/content/samples/charts/index.ja.md @@ -0,0 +1,87 @@ +--- +title: "Charts" +date: 2019-03-06 +description: "Guide to Chart.js usage in Blowfish" +summary: "Blowfish includes Chart.js for powerful charts and data visualisations." +tags: ["chart", "sample", "graph", "shortcodes"] +showDate: false +type: 'sample' +--- + +Blowfish は Chart.js の `chart` ショートコードを内蔵し、利用をサポートしています。ショートコードでグラフのマークアップを囲むだけです。 Blowfish は `colorScheme` パラメータで自動的にグラフのテーマが適応されますが、通常の Chart.js 構文を利用して色をカスタマイズすることも可能です。 + +[グラフのショートコード]({{< ref "docs/shortcodes#chart" >}})資料で更に詳細を参照出来ます。 + +以下は [Chart.js 公式資料](https://www.chartjs.org/docs/latest/samples)から抜粋した例です。 GitHub でマークアップを[ページソースで見る](https://raw.githubusercontent.com/nunocoracao/blowfish/main/exampleSite/content/samples/charts/index.md)ことができます。 + +## 棒グラフ + + +{{< chart >}} +type: 'bar', +data: { + labels: ['1月', '2月', '3月', '4月', '5月', '6月', '7月'], + datasets: [{ + label: '初めてのデータセット', + data: [65, 59, 80, 81, 56, 55, 40], + backgroundColor: [ + 'rgba(255, 99, 132, 0.2)', + 'rgba(255, 159, 64, 0.2)', + 'rgba(255, 205, 86, 0.2)', + 'rgba(75, 192, 192, 0.2)', + 'rgba(54, 162, 235, 0.2)', + 'rgba(153, 102, 255, 0.2)', + 'rgba(201, 203, 207, 0.2)' + ], + borderColor: [ + 'rgb(255, 99, 132)', + 'rgb(255, 159, 64)', + 'rgb(255, 205, 86)', + 'rgb(75, 192, 192)', + 'rgb(54, 162, 235)', + 'rgb(153, 102, 255)', + 'rgb(201, 203, 207)' + ], + borderWidth: 1 + }] +} +{{< /chart >}} + + +## 折れ線グラフ + + +{{< chart >}} +type: 'line', +data: { + labels: ['1月', '2月', '3月', '4月', '5月', '6月', '7月'], + datasets: [{ + label: '初めてのデータセット', + data: [65, 59, 80, 81, 56, 55, 40], + tension: 0.2 + }] +} +{{< /chart >}} + + +## 円グラフ + + +{{< chart >}} +type: 'doughnut', +data: { + labels: ['赤色', '青色', '黄色'], + datasets: [{ + label: '初めてのデータセット', + data: [300, 50, 100], + backgroundColor: [ + 'rgba(255, 99, 132, 0.7)', + 'rgba(54, 162, 235, 0.7)', + 'rgba(255, 205, 86, 0.7)' + ], + borderWidth: 0, + hoverOffset: 4 + }] +} +{{< /chart >}} + From 7067128e489c97d317434c66d35e93ce445cd2b4 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Sat, 30 Mar 2024 12:08:56 +0900 Subject: [PATCH 11/15] translate: samples/mathematical-notation into japanese --- .../samples/mathematical-notation/index.ja.md | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100755 exampleSite/content/samples/mathematical-notation/index.ja.md diff --git a/exampleSite/content/samples/mathematical-notation/index.ja.md b/exampleSite/content/samples/mathematical-notation/index.ja.md new file mode 100755 index 00000000..ced835a9 --- /dev/null +++ b/exampleSite/content/samples/mathematical-notation/index.ja.md @@ -0,0 +1,51 @@ +--- +title: 数学的な表記 +date: 2019-03-08 +description: Blowfish での数学的な表記の簡単なサンプル。 +tags: ["sample", "katex", "maths", "shortcodes"] +type: 'sample' +--- + +KaTeX は数学的な表記を記事内にレンダリングする際に利用できます。 + + + +{{< katex >}} + +Blowfish は数学的な表記を利用する場合のみ、 KaTeX アセットをプロジェクトにバンドルします。これを機能させるには、単に記事内に [`katex` ショートコード]({{< ref "docs/shortcodes#katex" >}}) を含ませてください。以下が例です: + +```md +{{}} +``` +ページ上のすべての KaTeX 構文は自動的にレンダリングされます。 +利用可能な構文は[サポートしている TeX 機能](https://katex.org/docs/supported.html)のオンラインの文献を参照してください。 + +## インライン表記 + +インライン表記は `\\(` と `\\)` 記号で式を囲むことで生成できます。 + +**例:** + +```tex +% KaTeX インライン表記 +インライン表記: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) +``` + +インライン表記: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) + +## ブロック表記 + +または、ブロック表記は `$$` 記号を利用することで生成できます。これによって、式が独自の HTML ブロックに出力されます。 + +**例:** + +```tex +% KaTeX ブロック表記 +$$ + \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } +$$ +``` + +$$ + \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } +$$ From 5b2f6f56483f9138a7f7f31bd8ce067003bcf4c0 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Sat, 30 Mar 2024 12:11:52 +0900 Subject: [PATCH 12/15] improve: japanese translation of samples/mathematical-notation --- .../content/samples/mathematical-notation/index.ja.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exampleSite/content/samples/mathematical-notation/index.ja.md b/exampleSite/content/samples/mathematical-notation/index.ja.md index ced835a9..63065463 100755 --- a/exampleSite/content/samples/mathematical-notation/index.ja.md +++ b/exampleSite/content/samples/mathematical-notation/index.ja.md @@ -1,18 +1,18 @@ --- -title: 数学的な表記 +title: 数学的記法 date: 2019-03-08 -description: Blowfish での数学的な表記の簡単なサンプル。 +description: Blowfish での数学的記法の簡単なサンプル。 tags: ["sample", "katex", "maths", "shortcodes"] type: 'sample' --- -KaTeX は数学的な表記を記事内にレンダリングする際に利用できます。 +KaTeX は数学的記法を記事内にレンダリングする際に利用できます。 {{< katex >}} -Blowfish は数学的な表記を利用する場合のみ、 KaTeX アセットをプロジェクトにバンドルします。これを機能させるには、単に記事内に [`katex` ショートコード]({{< ref "docs/shortcodes#katex" >}}) を含ませてください。以下が例です: +Blowfish は数学的記法を利用する場合のみ、 KaTeX アセットをプロジェクトにバンドルします。これを機能させるには、単に記事内に [`katex` ショートコード]({{< ref "docs/shortcodes#katex" >}}) を含ませてください。以下が例です: ```md {{}} From 0b492f26defaab7c8e3764fb8b7da4a555e0a495 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Mon, 1 Apr 2024 20:00:41 +0900 Subject: [PATCH 13/15] translate: samples/diagrams-flowcharts into japanese --- .../samples/diagrams-flowcharts/index.ja.md | 102 ++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100755 exampleSite/content/samples/diagrams-flowcharts/index.ja.md diff --git a/exampleSite/content/samples/diagrams-flowcharts/index.ja.md b/exampleSite/content/samples/diagrams-flowcharts/index.ja.md new file mode 100755 index 00000000..2b776ccd --- /dev/null +++ b/exampleSite/content/samples/diagrams-flowcharts/index.ja.md @@ -0,0 +1,102 @@ +--- +title: "ダイアグラムとフローチャート" +date: 2019-03-06 +description: "Blowfish での Mermaid の利用方法についてのガイド" +summary: "Mermaid を利用して簡単に図やフローチャートを記事に追加する方法。" +tags: ["mermaid", "sample", "diagram", "shortcodes"] +type: 'sample' +--- + +Mermaid 図は `mermaid` ショートコードを使うことで Blowfish でサポートされています。ダイヤグラムのマークアップをショートコードを囲むだけです。 Blowfish は設定された `colorScheme` パラメータに合うように自動T系に Mermaid ダイヤグラムをテーマ化します。 + +[mermaid ショートコード]({{< ref "docs/shortcodes#mermaid" >}})資料にてより詳細を参照できます。 + +以下の例は [Mermaid 公式資料](https://mermaid-js.github.io/mermaid/)から抜粋した一分です。GitHub の[ページソース](https://raw.githubusercontent.com/nunocoracao/blowfish/main/exampleSite/content/samples/diagrams-flowcharts/index.md)でマークアップを確認することができます。 + +## フローチャート + +
+{{< mermaid >}} +graph TD +A[クリスマス] -->|収入| B(買い物にいく) +B --> C{考える} +B --> G[/他/] +C ==>|1| D[ノートパソコン] +C -->|2| E[iPhone] +C -->|3| F[車] +subgraph セクション +C +D +E +F +G +end +{{< /mermaid >}} +
+ +## 順序図 + +
+{{< mermaid >}} +sequenceDiagram +autonumber +par 行動 1 +アリス->>ジョン: こんにちはジョン、お元気ですか? +and 行動 2 +アリス->>ボブ: こんにちはボブ、お元気ですか? +end +アリス->>+ジョン: こんにちはジョン、お元気ですか? +アリス->>+ジョン: ジョン、聞こえていますか? +ジョン-->>-アリス: こんにちはアリス、聞こえています! +Note right of ジョン: ジョンは察しがよい +ジョン-->>-アリス: とても気分がいいです! +loop 毎分 +ジョン-->アリス: すばらしい! +end +{{< /mermaid >}} +
+ +## クラス図 + +
+{{< mermaid >}} +classDiagram +Animal "1" <|-- Duck +Animal <|-- Fish +Animal <--o Zebra +Animal : +int age +Animal : +String gender +Animal: +isMammal() +Animal: +mate() +class Duck{ ++String beakColor ++swim() ++quack() +} +class Fish{ +-int sizeInFeet +-canEat() +} +class Zebra{ ++bool is_wild ++run() +} +{{< /mermaid >}} +
+ +## 主従関係図 + +
+{{< mermaid >}} +erDiagram +CUSTOMER }|..|{ DELIVERY-ADDRESS : has +CUSTOMER ||--o{ ORDER : places +CUSTOMER ||--o{ INVOICE : "liable for" +DELIVERY-ADDRESS ||--o{ ORDER : receives +INVOICE ||--|{ ORDER : covers +ORDER ||--|{ ORDER-ITEM : includes +PRODUCT-CATEGORY ||--|{ PRODUCT : contains +PRODUCT ||--o{ ORDER-ITEM : "ordered in" +{{< /mermaid >}} +
+ From cef8e2879545efd74889633da7ee94e7d6214741 Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Mon, 1 Apr 2024 20:04:28 +0900 Subject: [PATCH 14/15] translate: samples/placeholder-text into japanese --- .../samples/placeholder-text/index.ja.md | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100755 exampleSite/content/samples/placeholder-text/index.ja.md diff --git a/exampleSite/content/samples/placeholder-text/index.ja.md b/exampleSite/content/samples/placeholder-text/index.ja.md new file mode 100755 index 00000000..518ba9ce --- /dev/null +++ b/exampleSite/content/samples/placeholder-text/index.ja.md @@ -0,0 +1,40 @@ +--- +title: "代用語文" +date: "2019-03-09" +lastmod: "2022-01-24" +draft: false +description: "Lorem Ipsum Dolor Si Amet" +tags: ["markdown", "text", "sample", "latin"] +showDateUpdated: true +xml: false +type: 'sample' +--- + +Lorem est tota propiore conpellat pectoribus de pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum. + +1. Exierant elisi ambit vivere dedere +2. Duce pollice +3. Eris modo +4. Spargitque ferrea quos palude + +Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis. + +1. Comas hunc haec pietate fetum procerum dixit +2. Post torum vates letum Tiresia +3. Flumen querellas +4. Arcanaque montibus omnes +5. Quidem et + +## Vagus elidunt + + + +[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon) + +### Mane refeci capiebant unda mulcebat + +Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis. + +Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae vulnus haerentia iuste et exercebat, sui et. + +Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, _oculos nomen_ non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem Propoetides **parte**. From 46fcf6cc6844d4c98a8ea5afe92b0826666726aa Mon Sep 17 00:00:00 2001 From: Lemon73-Computing Date: Mon, 1 Apr 2024 20:13:04 +0900 Subject: [PATCH 15/15] translate: samples/icons into japanese --- exampleSite/content/samples/icons/index.ja.md | 116 ++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 exampleSite/content/samples/icons/index.ja.md diff --git a/exampleSite/content/samples/icons/index.ja.md b/exampleSite/content/samples/icons/index.ja.md new file mode 100644 index 00000000..9edfcfa6 --- /dev/null +++ b/exampleSite/content/samples/icons/index.ja.md @@ -0,0 +1,116 @@ +--- +title: "アイコン" +date: 2020-08-14 +lastmod: 2022-03-09 +draft: false +description: "Blowfish でサポートしているアイコン。" +slug: "icons" +tags: ["icons", "sample", "shortcodes"] +type: 'sample' +--- + +Blowfish はいくつもの [FontAwesome 6](https://fontawesome.com/icons) のアイコンを組み込み、サポートしています。これらは[アイコンパーシャル]({{< ref "docs/partials#icon" >}})または[アイコンショートコード]({{< ref "docs/shortcodes#icon" >}})のどちらかを利用してウェブサイトに含めることが出来ます。 + +加えて、カスタムアイコンも完全にサポートされています。プロジェクトのルートにある `assets/icons/` ディレクトリーに SVG アイコンアセットを置くだけです。アイコンディレクトリ内のアイコンはテーマ全体で利用可能になります。自動的に色を塗りつぶすために、全ての SVG パスは fill="currentColor" の XML 属性が必要です。 + +組み込んでいるアイコンと対応する名称の全リストは以下を参照してください。 + +| アイコン名 | プレビュー | +| -------------------- | --------------------------------- | +| amazon | {{< icon amazon >}} | +| apple | {{< icon apple >}} | +| バー | {{< icon bars >}} | +| ベル | {{< icon bell >}} | +| blogger | {{< icon blogger >}} | +| bluesky | {{< icon bluesky >}} | +| ボム | {{< icon bomb >}} | +| バグ | {{< icon bug >}} | +| チェック | {{< icon check >}} | +| 情報 (円) | {{< icon circle-info >}} | +| コード | {{< icon code>}} | +| codepen | {{< icon codepen >}} | +| コメント | {{< icon comment >}} | +| dev | {{< icon dev >}} | +| discourse | {{< icon discourse >}} | +| docker | {{< icon docker >}} | +| ダウンロード | {{< icon download >}} | +| dribbble | {{< icon dribbble >}} | +| 編集 | {{< icon edit >}} | +| メール | {{< icon email >}} | +| 封筒 | {{< icon envelope >}} | +| 拡大 | {{< icon expand >}} | +| 目 | {{< icon eye >}} | +| facebook | {{< icon facebook >}} | +| 炎 | {{< icon fire >}} | +| flickr | {{< icon flickr >}} | +| fork | {{< icon fork >}} | +| foursquare | {{< icon foursquare >}} | +| 幽霊 | {{< icon ghost >}} | +| github | {{< icon github >}} | +| gitlab | {{< icon gitlab >}} | +| 地球 | {{< icon globe >}} | +| goodreads | {{< icon goodreads >}} | +| google | {{< icon google >}} | +| 卒業帽 | {{< icon graduation-cap >}} | +| hackernews | {{< icon hackernews >}} | +| hashnode | {{< icon hashnode >}} | +| ハート (空) | {{< icon heart-empty >}} | +| ハート | {{< icon heart >}} | +| 画像 | {{< icon image >}} | +| instagram | {{< icon instagram >}} | +| keybase | {{< icon keybase >}} | +| kickstarter | {{< icon kickstarter >}} | +| ko-fi | {{< icon ko-fi >}} | +| 言語 | {{< icon language >}} | +| lastfm | {{< icon lastfm >}} | +| ひらめき | {{< icon lightbulb >}} | +| リンク | {{< icon link >}} | +| linkedin | {{< icon linkedin >}} | +| リスト | {{< icon list >}} | +| 地図のピン | {{< icon location-dot >}} | +| ロック | {{< icon lock >}} | +| mastodon | {{< icon mastodon >}} | +| medium | {{< icon medium >}} | +| microsoft | {{< icon microsoft >}} | +| 月 | {{< icon moon >}} | +| ホットマグカップ | {{< icon mug-hot >}} | +| 音楽 | {{< icon music >}} | +| orcid | {{< icon orcid >}} | +| patreon | {{< icon patreon >}} | +| paypal | {{< icon paypal >}} | +| 鉛筆 | {{< icon pencil >}} | +| pgp キー | {{< icon pgpkey >}} | +| 電話 | {{< icon phone >}} | +| pinterest | {{< icon pinterest >}} | +| うんち | {{< icon poo >}} | +| reddit | {{< icon reddit >}} | +| researchgate | {{< icon researchgate >}} | +| rss | {{< icon rss >}} | +| rss (四角) | {{< icon rss-square >}} | +| 天秤 | {{< icon scale-balanced >}} | +| 検索 | {{< icon search >}} | +| 盾 | {{< icon shield >}} | +| ドクロ | {{< icon skull-crossbones >}} | +| slack | {{< icon slack >}} | +| snapchat | {{< icon snapchat >}} | +| soundcloud | {{< icon soundcloud >}} | +| stack-overflow | {{< icon stack-overflow >}} | +| 星 | {{< icon star >}} | +| steam | {{< icon steam >}} | +| stripe | {{< icon stripe >}} | +| substack | {{< icon substack >}} | +| 太陽 | {{< icon sun >}} | +| タグ | {{< icon tag >}} | +| telegram | {{< icon telegram >}} | +| threads | {{< icon threads >}} | +| tiktok | {{< icon tiktok >}} | +| 警告 (三角) | {{< icon triangle-exclamation >}} | +| tumblr | {{< icon tumblr >}} | +| twitch | {{< icon twitch >}} | +| twitter | {{< icon twitter >}} | +| 輝く魔法の杖 | {{< icon wand-magic-sparkles >}} | +| whatsapp | {{< icon whatsapp >}} | +| x-twitter | {{< icon x-twitter >}} | +| xing | {{< icon xing >}} | +| xmark | {{< icon xmark >}} | +| youtube | {{< icon youtube >}} |