lbenicio-minimal-v1 1.6.1 → 1.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_layouts/feed.html +1 -1
- data/assets/vendor/search.js +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32343892fa7956cc1252559580f554215497ccbe11fb8cc1d50f9b630f24c211
|
4
|
+
data.tar.gz: 2df63d63e26de67cf8ea23f3fd82754b528b809a4fdf8d19fdb2584e80839ad8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2bcbc933a82580919fdb3aef2375290126ca8394debf8883b85f79ca5a4c810313c835bdd09ab589a55beae9c0db5ee2d9f8aeb941b413b3170a7baf893ccbd
|
7
|
+
data.tar.gz: 7a2c921669f69aab559377b13615288a56d682f8a71f825a136975c284172350cd1ac295bbefb24c599026f370a463f8ea6b7c8093012db481969d3bc8c90260
|
data/_layouts/feed.html
CHANGED
data/assets/vendor/search.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function app(e){var t=instantsearch({searchClient:algoliasearch(e.appId,e.apiKey),indexName:e.indexName,routing:!0,searchFunction:e.searchFunction});t.addWidgets([instantsearch.widgets.searchBox({container:"#search-input",placeholder:"Search for ..."}),instantsearch.widgets.hits({container:"#hits",templates:{item:function(e){var t=""!==document.querySelector("input.ais-SearchBox-input").value,n=document.querySelector("section#search-box div#pagination"),a=document.querySelector("section#search-box div#stats"),s=document.querySelector("section#search-box div#sort-by-wrapper"),i=document.querySelector("section#search-box div#right-column");return t?(n.classList.remove("d-none"),a.classList.remove("d-none"),s.classList.remove("d-none"),i.classList.remove("d-none")):(n.classList.add("d-none"),a.classList.add("d-none"),s.classList.add("d-none"),i.classList.add("d-none")),t
|
1
|
+
function app(e){var t=instantsearch({searchClient:algoliasearch(e.appId,e.apiKey),indexName:e.indexName,routing:!0,searchFunction:e.searchFunction});t.addWidgets([instantsearch.widgets.searchBox({container:"#search-input",placeholder:"Search for ..."}),instantsearch.widgets.hits({container:"#hits",templates:{item:function(e){var t=""!==document.querySelector("input.ais-SearchBox-input").value,n=document.querySelector("section#search-box div#pagination"),a=document.querySelector("section#search-box div#stats"),s=document.querySelector("section#search-box div#sort-by-wrapper"),i=document.querySelector("section#search-box div#right-column");return t?(n.classList.remove("d-none"),a.classList.remove("d-none"),s.classList.remove("d-none"),i.classList.remove("d-none")):(n.classList.add("d-none"),a.classList.add("d-none"),s.classList.add("d-none"),i.classList.add("d-none")),t?'<div class="hit"><div class="hit-image '+(e.image?"":"d-none")+'"><img src="'+e.image+'" alt="'+e.name+'"></div><div class="hit-content"><h5 class="hit-name"><a href="'+e.url+'">'+e.title+'</a></h5><p class="hit-description"><a href="'+e.url+'">'+e.content.slice(0,300)+"</a></p></div></div>":""},empty:getTemplate("no-results")}}),instantsearch.widgets.stats({container:"#stats"}),instantsearch.widgets.sortBy({container:"#sort-by",items:[{value:e.indexName,label:"Most relevant"}]}),instantsearch.widgets.pagination({container:"#pagination",scrollTo:"#search-input"})]),t.start()}function getTemplate(e){return document.querySelector("#"+e+"-template").innerHTML}function getHeader(e){return"<h5>"+e+"</h5>"}
|