diff --git a/README.ko.md b/README.ko.md
index cb189ad..f6d00e6 100644
--- a/README.ko.md
+++ b/README.ko.md
@@ -3,7 +3,14 @@
[English](https://github.com/zzossig/hugo-theme-zzo/blob/master/README.md) |
νκ΅μ΄
-π₯π₯π₯π€μ΅μλ‘ μ§μκ°λ₯ν Hugo λ²μ μ΄ 0.60.0μΌλ‘ λ³κ²½λμμ΅λλ€. μ΄μ λ²μ κ³Όλ λ€λ₯΄κ² μμ λ§ν¬λ€μ΄ λ λλ§ λΌμ΄λΈλ¬λ¦¬ μμ²΄κ° λ³κ²½λμ΄(blackfridyμμ goldmarkλ‘), νΉμ¬ μ΄μ λ²μ μ μ¬μ©νκ³ κ³μλ€λ©΄, μ΅μ Hugo λ²μ μ μ€μΉνμλκ±Έ κΆμ₯λ립λλ€.π₯π₯π₯
+π₯π₯π₯
+zzo themeμ μ
λ°μ΄νΈν ν `config.toml` νμΌμμ page λ³μλ₯Ό μμ ν΄μ£ΌμΈμ
+```diff
+[outputs]
+ page = ["HTML", "SearchIndex"]
+```
+κ²μ κ΄λ ¨ μΈλ±μ€ μμ±μμΉλ₯Ό λ³κ²½νμ΅λλ€
+π₯π₯π₯
ν΄λ¦ν΄ μ£Όμ
μ κ°μ¬ν©λλ€. Zzo themeμ λ§μ κΈ°λ₯μ μ§μνκ³ μκ³ μμ΅λλ€. κΈ°μ λΈλ‘κ·Έλ₯Ό μ΄μνκΈ°μ μ΅μ ν λμ΄μμ΅λλ€!(μ μ΄λ μ μκ°μ...)
Zzo themeμ μ΄μ©ν μ κ°μ₯ 맀λ ₯μ μΈ ν¬μΈνΈ νκ°μ§λ, νκΈλ‘ μ μ μν΅ν μ μλ€λ μ ? μ
λλ€.
diff --git a/README.md b/README.md
index c0755a1..2d3318f 100644
--- a/README.md
+++ b/README.md
@@ -3,16 +3,14 @@
English |
[νκ΅μ΄](https://github.com/zzossig/hugo-theme-zzo/blob/master/README.ko.md)
-Minimum Hugo version changed to 0.65.0 to take advantage of new feature `.GetTerms`.
-This new feature enable asian languages correctly displayed.
-
-```html
-
+π₯π₯π₯
+after update the zzo theme, delete the outputs.page variable in `config.toml`.
+```diff
+[outputs]
+ page = ["HTML", "SearchIndex"]
```
+I changed the place to make search index
+π₯π₯π₯
Thank you for click me!. Zzo theme is a blog theme powered by Hugo with free(always), and many features.
diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/config.toml
index 4ade7d9..d66c5b8 100644
--- a/exampleSite/config/_default/config.toml
+++ b/exampleSite/config/_default/config.toml
@@ -35,7 +35,6 @@ googleAnalytics = ""
startLevel = 2
[outputs]
- page = ["HTML", "SearchIndex"]
home = ["HTML", "RSS", "SearchIndex"]
section = ["HTML", "RSS", "SearchIndex"]
taxonomyTerm = ["HTML", "RSS", "SearchIndex"]
diff --git a/layouts/_default/single.searchindex.json b/layouts/_default/single.searchindex.json
deleted file mode 100644
index 11e8280..0000000
--- a/layouts/_default/single.searchindex.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{{ .Scratch.Delete "searchindex" }}
-{{- $.Scratch.Add "searchindex" slice -}}
-{{- range $index, $element := (where .Site.RegularPages "Kind" "page") -}}
- {{ with $element.Plain }}
- {{- $.Scratch.Add "searchindex" (dict "id" $index "title" $element.Title "uri" $element.Permalink "tags" $element.Params.tags "section" $element.Section "content" $element.Plain "description" $element.Description) -}}
- {{ end }}
-{{- end -}}
-{{- $.Scratch.Get "searchindex" | jsonify -}}
\ No newline at end of file
diff --git a/layouts/partials/head/scripts.html b/layouts/partials/head/scripts.html
index e60a679..42751e4 100644
--- a/layouts/partials/head/scripts.html
+++ b/layouts/partials/head/scripts.html
@@ -550,6 +550,8 @@
// ========================== search ==========================
+ {{ $baseurl:= $.Site.BaseURL }}
+ var baseurl = JSON.parse({{ $baseurl | jsonify }});
{{ $permalink:= .Permalink }}
var permalink = JSON.parse({{ $permalink | jsonify }});
var searchResults = null;
@@ -564,10 +566,10 @@
var sectionType = JSON.parse({{ $sectionType | jsonify }});
var fuse = null;
-
+
(function initFuse() {
var xhr = new XMLHttpRequest();
- xhr.open('GET', permalink + "index.json");
+ xhr.open('GET', baseurl + "/index.json");
xhr.setRequestHeader('Content-Type', 'application/json; charset=utf-8');
xhr.onload = function () {
if (xhr.status === 200) {