improve search

This commit is contained in:
Themefisher Dev 2020-02-22 16:12:51 +06:00
parent 47498599e9
commit 5af355baf6
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@
{{ range $pages }} {{ range $pages }}
{ {
value: "{{ .Title }}", value: "{{ .Title }}",
label: "{{.Content}}{{range.Params.Keywords}}<p>{{.}}</p>{{end}}", label: "<p>{{.Plain}}</p>{{range.Params.Keywords}}<p>{{.}}</p>{{end}}",
url:"{{ .Permalink }}" url:"{{ .Permalink }}"
}, },
{{ end }} {{ end }}

View file

@ -3,7 +3,7 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-3"> <div class="col-lg-3">
<div class="bg-white pl-lg-4 py-4 pr-4 mb-5 sticky-top top-100 overflow-hidden"> <div class="bg-white pl-lg-4 py-4 pr-4 mb-5 mb-lg-0 sticky-top top-100 overflow-hidden">
<ul class="list-styled"> <ul class="list-styled">
{{ $currentNode := . }} {{ $currentNode := . }}
<a class="d-block h4 back-btn" href="{{ .Site.BaseURL | relLangURL }}">{{ i18n "Back-home"}}</a> <a class="d-block h4 back-btn" href="{{ .Site.BaseURL | relLangURL }}">{{ i18n "Back-home"}}</a>