From b0956d4f13abe38866fa7a541895ece0e1dff944 Mon Sep 17 00:00:00 2001 From: hmatsu47 Date: Tue, 21 Dec 2021 00:05:32 +0900 Subject: [PATCH] =?UTF-8?q?refs=20#23=20=E6=A4=9C=E7=B4=A2=E4=BB=AE?= =?UTF-8?q?=E5=AE=9F=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/search/_index.ja.md | 36 ++++++++++++++++++++++++++++++++++ layouts/partials/banner.html | 29 +++++++++++++++++++++++---- layouts/shortcodes/result.html | 20 +++++++++++++++++++ 3 files changed, 81 insertions(+), 4 deletions(-) create mode 100644 content/search/_index.ja.md create mode 100644 layouts/shortcodes/result.html diff --git a/content/search/_index.ja.md b/content/search/_index.ja.md new file mode 100644 index 00000000..f9df4fd4 --- /dev/null +++ b/content/search/_index.ja.md @@ -0,0 +1,36 @@ +--- +title: "検索" +draft: false +--- + + + + +{{< result >}} \ No newline at end of file diff --git a/layouts/partials/banner.html b/layouts/partials/banner.html index 5c084e92..3acae7a6 100644 --- a/layouts/partials/banner.html +++ b/layouts/partials/banner.html @@ -4,8 +4,29 @@

{{ .Site.Params.banner.title | markdownify }}

{{ .Site.Params.banner.subtitle | markdownify }}

- + --> +
diff --git a/layouts/shortcodes/result.html b/layouts/shortcodes/result.html new file mode 100644 index 00000000..94555040 --- /dev/null +++ b/layouts/shortcodes/result.html @@ -0,0 +1,20 @@ +{{ $_hugo_config := `{ "version": 1 }` }} +{{ range $faq := (where $.Site.Data.faq.faq "カテゴリ名" "!=" "") }} + +{{ end }}