forked from TrueCloudLab/dot-hugo
added new search facilities
This commit is contained in:
parent
6695462d13
commit
17e688465f
32 changed files with 93 additions and 27 deletions
|
@ -492,6 +492,17 @@ header.sticky-top {
|
||||||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ui-menu::before {
|
||||||
|
position: absolute;
|
||||||
|
content: "";
|
||||||
|
width: 100%;
|
||||||
|
height: 10px;
|
||||||
|
background: #fff;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 999;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 575px) {
|
@media (max-width: 575px) {
|
||||||
.ui-menu {
|
.ui-menu {
|
||||||
width: calc(100% - 30px) !important;
|
width: calc(100% - 30px) !important;
|
||||||
|
@ -528,10 +539,15 @@ header.sticky-top {
|
||||||
border-bottom: 1px solid #e8e8e8;
|
border-bottom: 1px solid #e8e8e8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-menu-item:nth-child(5){
|
.ui-menu-item *{
|
||||||
border: 0;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ui-menu-item .ui-corner-all{
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* /navigation */
|
/* /navigation */
|
||||||
.form-control {
|
.form-control {
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 3
|
weight: 3
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: ["money","payment"]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 3
|
weight: 3
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: ["money","payment"]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 2
|
weight: 2
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: ["handle"]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 2
|
weight: 2
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: ["handle"]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 1
|
weight: 1
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 1
|
weight: 1
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 4
|
weight: 4
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 4
|
weight: 4
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 5
|
weight: 5
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 5
|
weight: 5
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 1
|
weight: 1
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 1
|
weight: 1
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 2
|
weight: 2
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 2
|
weight: 2
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 3
|
weight: 3
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 3
|
weight: 3
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 4
|
weight: 4
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 4
|
weight: 4
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 5
|
weight: 5
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 5
|
weight: 5
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. Suspendisse tincidunt consequat quam, ac posuere leo dapibus id. Cras fringilla convallis elit, at eleifend mi interam.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 3
|
weight: 3
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
### Global site parameters
|
### Global site parameters
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 3
|
weight: 3
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
### Global site parameters
|
### Global site parameters
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 4
|
weight: 4
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
**Dot** has been built to be as configurable as possible.
|
**Dot** has been built to be as configurable as possible.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 4
|
weight: 4
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
**Dot** has been built to be as configurable as possible.
|
**Dot** has been built to be as configurable as possible.
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 5
|
weight: 5
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
# Heading 1
|
# Heading 1
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 3
|
weight: 3
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
# Heading 1
|
# Heading 1
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 2
|
weight: 2
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: ["induct", "instate"]
|
||||||
---
|
---
|
||||||
|
|
||||||
The following steps are here to help you initialize your new website. If you don't know Hugo at all, we strongly suggest you learn more about it by following this [great documentation for beginners](https://gohugo.io/overview/quickstart/).
|
The following steps are here to help you initialize your new website. If you don't know Hugo at all, we strongly suggest you learn more about it by following this [great documentation for beginners](https://gohugo.io/overview/quickstart/).
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 2
|
weight: 2
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: ["induct", "instate"]
|
||||||
---
|
---
|
||||||
|
|
||||||
The following steps are here to help you initialize your new website. If you don't know Hugo at all, we strongly suggest you learn more about it by following this [great documentation for beginners](https://gohugo.io/overview/quickstart/).
|
The following steps are here to help you initialize your new website. If you don't know Hugo at all, we strongly suggest you learn more about it by following this [great documentation for beginners](https://gohugo.io/overview/quickstart/).
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 1
|
weight: 1
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,8 @@ date: 2018-12-29T11:02:05+06:00
|
||||||
lastmod: 2020-01-05T10:42:26+06:00
|
lastmod: 2020-01-05T10:42:26+06:00
|
||||||
weight: 1
|
weight: 1
|
||||||
draft: false
|
draft: false
|
||||||
|
# search related keywords
|
||||||
|
keywords: [""]
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -17,27 +17,17 @@
|
||||||
{{ range $pages }}
|
{{ range $pages }}
|
||||||
{
|
{
|
||||||
value: "{{ .Title }}",
|
value: "{{ .Title }}",
|
||||||
label: "{{ .Title }}",
|
label: "{{.Content}}{{range.Params.Keywords}}<p>{{.}}</p>{{end}}",
|
||||||
url:"{{ .Permalink }}"
|
url:"{{ .Permalink }}"
|
||||||
},
|
},
|
||||||
{{ end }}
|
{{ end }}
|
||||||
];
|
];
|
||||||
$( "#search" ).autocomplete({
|
$( "#search" ).autocomplete({
|
||||||
minLength: 0,
|
source: projects
|
||||||
source: projects,
|
|
||||||
focus: function( event, ui ) {
|
|
||||||
$( "#search" ).val( ui.item.label );
|
|
||||||
return false;
|
|
||||||
},
|
|
||||||
select: function( event, ui ) {
|
|
||||||
$( "#search" ).val( ui.item.label );
|
|
||||||
$( "#project-id" ).val( ui.item.value );
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
.data( "ui-autocomplete" )._renderItem = function( ul, item ) {
|
.data( "ui-autocomplete" )._renderItem = function( ul, item ) {
|
||||||
return $( "<li>" )
|
return $( "<li>" )
|
||||||
.append( "<a href=" + item.url + " + \" "\" + >" + item.label + "</a>" )
|
.append( "<a href=" + item.url + " + \" "\" + >" + item.value + "</a>" + item.label )
|
||||||
.appendTo( ul );
|
.appendTo( ul );
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue