Update README.md
This commit is contained in:
parent
cd19511550
commit
1d0937c69f
24
README.md
24
README.md
|
@ -3,23 +3,15 @@
|
||||||
English |
|
English |
|
||||||
[한국어](https://github.com/zzossig/hugo-theme-zzo/blob/master/README.ko.md)
|
[한국어](https://github.com/zzossig/hugo-theme-zzo/blob/master/README.ko.md)
|
||||||
|
|
||||||
I changed the search logic. So, please add this config params to your `config.toml` file.
|
Minimum Hugo version changed to 0.65.0 to take advantage of new feature `.GetTerms`.
|
||||||
|
This new feature enable asian languages correctly displayed.
|
||||||
|
|
||||||
```toml
|
```html
|
||||||
...
|
<ul>
|
||||||
[outputs]
|
{{ range (.GetTerms "tags") }}
|
||||||
page = ["HTML", "SearchIndex"]
|
<li><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li>
|
||||||
home = ["HTML", "RSS", "SearchIndex"]
|
{{ end }}
|
||||||
section = ["HTML", "RSS", "SearchIndex"]
|
</ul>
|
||||||
taxonomyTerm = ["HTML", "RSS", "SearchIndex"]
|
|
||||||
taxonomy = ["HTML", "RSS", "SearchIndex"]
|
|
||||||
|
|
||||||
[outputFormats]
|
|
||||||
[outputFormats.SearchIndex]
|
|
||||||
mediaType = "application/json"
|
|
||||||
baseName = "index"
|
|
||||||
isPlainText = true
|
|
||||||
notAlternative = true
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Thank you for click me!. Zzo theme is a blog theme powered by Hugo with free(always), and many features.
|
Thank you for click me!. Zzo theme is a blog theme powered by Hugo with free(always), and many features.
|
||||||
|
|
Loading…
Reference in New Issue