Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
453 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
title = "Hugo Bootstrap" | ||
hasCJKLanguage = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
+++ | ||
title = "2019" | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
+++ | ||
title = "2020" | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
+++ | ||
title = "2021" | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
+++ | ||
title = "2022" | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
+++ | ||
title = "アーカイブ" | ||
[menu.main] | ||
parent = "blog" | ||
weight = 1 | ||
pre = '<i class="fas fa-fw fa-archive me-1"></i>' | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
+++ | ||
title = "著者" | ||
[menu.main] | ||
parent = "blog" | ||
weight = 5 | ||
pre = '<i class="fas fa-fw fa-user me-1"></i>' | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
title: Hugoの著者 | ||
description: Hugoは、最も人気のあるオープンソースの静的サイトジェネレータの1つです。驚異的なスピードと柔軟性で、Hugoはウェブサイトを作る楽しみを再び与えてくれます。 | ||
social: | ||
github: gohugoio | ||
twitter: GoHugoIO | ||
website: https://gohugo.io/ | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
title: Razon Yang | ||
description: Gopher、PHPer、フルスタックエンジニア。 | ||
social: | ||
github: razonyang | ||
twitter: razonyang | ||
email: razonyang@gmail.com | ||
website: https://razonyang.com/ | ||
patreon: razonyang | ||
paypal: razonyang | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
+++ | ||
title = "カテゴリ" | ||
[menu.main] | ||
parent = "blog" | ||
weight = 3 | ||
pre = '<i class="fas fa-fw fa-folder me-1"></i>' | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
+++ | ||
title = "お問い合わせ" | ||
layout = "contact" | ||
[menu.footer] | ||
parent = "support" | ||
weight = 6 | ||
pre = '<i class="fas fa-fw fa-info-circle me-1"></i>' | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
+++ | ||
title = "文書" | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
+++ | ||
title = "FAQレイアウト" | ||
date = 2021-12-07T21:46:43+08:00 | ||
featured = false | ||
comment = true | ||
toc = true | ||
reward = true | ||
categories = [ | ||
"FAQ" | ||
] | ||
tags = [ | ||
] | ||
series = [ | ||
"Docs" | ||
] | ||
images = [] | ||
aliases = [ | ||
"/ja/posts/faq", | ||
"/ja/docs/faq" | ||
] | ||
authors = ["RazonYang"] | ||
+++ | ||
|
||
よくある質問を集めた「[FAQ]({{< ref "/faq" >}})」ページです。 | ||
|
||
<!--more--> | ||
|
||
## 前提条件 | ||
|
||
`content` ディレクトリに `faq/index.md` というページを作成する必要があります。 | ||
|
||
```toml | ||
+++ | ||
title = "よくある質問" | ||
layout = "faq" | ||
+++ | ||
``` | ||
|
||
## データ | ||
|
||
データは `data` ディレクトリに格納され、ディレクトリ構造は以下の通りである。 | ||
|
||
```text | ||
data | ||
/ja | ||
/faq | ||
foo.json | ||
bar.json | ||
/en | ||
/faq | ||
foo.json | ||
bar.json | ||
``` | ||
|
||
ご覧のように、私たちは質問を言語によって分類しています。そして、各ファイルは以下のような同じ形式の質問のグループを表します。 | ||
|
||
```json | ||
{ | ||
"title": "グループの件名", | ||
"weight": 1, | ||
"questions": [ | ||
{ | ||
"question": "質問", | ||
"answer": "回答" | ||
} | ||
] | ||
} | ||
``` | ||
|
||
- `weight` パラメータは、グループを昇順にソートするために使用されます。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
+++ | ||
title = "よくある質問" | ||
layout = "faq" | ||
[menu.main] | ||
parent = "support" | ||
weight = 6 | ||
pre = '<i class="fas fa-fw fa-question-circle me-1"></i>' | ||
[menu.footer] | ||
parent = "support" | ||
weight = 6 | ||
pre = '<i class="fas fa-fw fa-question-circle me-1"></i>' | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
+++ | ||
title = 'オフライン' | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
+++ | ||
title = "投稿" | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
+++ | ||
title = "検索" | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
+++ | ||
title = "シリーズ" | ||
[menu.main] | ||
parent = "blog" | ||
weight = 2 | ||
pre = '<i class="fas fa-fw fa-columns me-1"></i>' | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
+++ | ||
title = "タグ" | ||
[menu.main] | ||
parent = "blog" | ||
weight = 4 | ||
pre = '<i class="fas fa-fw fa-tags me-1"></i>' | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"title": "Hugo", | ||
"weight": 2, | ||
"questions": [ | ||
{ | ||
"question": "Hugoとは何?", | ||
"answer": "HugoはGoで書かれた高速でモダンな静的サイトジェネレータで、ウェブサイト制作を再び楽しくするために設計されています。" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"title": "テーマ", | ||
"weight": 1, | ||
"questions": [ | ||
{ | ||
"question": "FAQページの設置方法は?", | ||
"answer": "こちらもご覧下さい [FAQ Page](/ja/posts/faq)." | ||
}, | ||
{ | ||
"question": "FAQページはMarkdown構文に対応していますか?", | ||
"answer": "もちろん、次のような有効なMarkdown構文を入力することができます。 `code`, *italic*, **bold text** etc.\n#### Table\n| Foo |\n|:---|\n| Bar |\n#### List\n- One\n- Two\n" | ||
}, | ||
{ | ||
"question": "アイコンを増やすには?", | ||
"answer": "こちらもご覧下さい [Look and Feel](/ja/posts/look-and-feel#icons)." | ||
}, | ||
{ | ||
"question": "言語を削除するには?", | ||
"answer": "zh-cn`を例にとって考えてみよう。\n- `config/_default/languages.toml`から言語を削除\n- コマンドによるコンテンツの削除 `find . -type f -name \"*.zh-cn.*\" -delete`." | ||
}, | ||
{ | ||
"question": "新しい言語を追加するには?", | ||
"answer": "- 新しい言語を `config/_default/languages.toml`に追加\n- [Write Articles](/en/docs/content/)." | ||
} | ||
] | ||
} |
Oops, something went wrong.