From c35103dc67d206bcac67484ba3b3a9c70e938cd6 Mon Sep 17 00:00:00 2001 From: danix Date: Tue, 28 Feb 2023 18:26:00 +0100 Subject: [PATCH] added search in home and contact page. Updated theme. Needs styling and check for functionality. --- content/_index.md | 3 +++ content/is/here/index.md | 8 ++++++++ hugo.toml | 11 +++++++++++ themes/dagreynix | 2 +- 4 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 content/is/here/index.md diff --git a/content/_index.md b/content/_index.md index a97fc89..1746a20 100644 --- a/content/_index.md +++ b/content/_index.md @@ -9,3 +9,6 @@ type: "homepage" Welcome to danix.xyz, my name is Danilo but you can call me danix. >Here I write about stuff I find interesting. On this site you may read about WordPress, Hugo, bash, Slackware, and lots of other things. Feel free to have a look and take what you like. + +{{< search >}} + diff --git a/content/is/here/index.md b/content/is/here/index.md new file mode 100644 index 0000000..d25bcb5 --- /dev/null +++ b/content/is/here/index.md @@ -0,0 +1,8 @@ +--- +title: "Talk to me" +date: 2023-02-28T18:12:43+01:00 +menu: "main" +type: page +--- + +{{< contact >}} diff --git a/hugo.toml b/hugo.toml index d0576c8..185c8c6 100644 --- a/hugo.toml +++ b/hugo.toml @@ -59,3 +59,14 @@ paginate = 10 simple = true [privacy.youtube] privacyEnhanced = true + +[outputs] + home = ["HTML", "SearchIndex"] + +[outputFormats] + [outputFormats.SearchIndex] + mediaType = "application/json" + baseName = "searchindex" + isPlainText = true + notAlternative = true + diff --git a/themes/dagreynix b/themes/dagreynix index 1d03523..a8d04f9 160000 --- a/themes/dagreynix +++ b/themes/dagreynix @@ -1 +1 @@ -Subproject commit 1d03523033cdc7b377e0b598e00192e08be293ab +Subproject commit a8d04f9eac8efe0c476b8958277595be3773fd46 -- 2.20.1