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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7439cd8aa881ed14eb4c42b12b31ac138ccd672259d4605c5f66398cef0e71b3
4
- data.tar.gz: daa0f614ba299e8b336669567d2b2128fd0426c79f5f7c9c4008ec4fad3d934a
3
+ metadata.gz: 32343892fa7956cc1252559580f554215497ccbe11fb8cc1d50f9b630f24c211
4
+ data.tar.gz: 2df63d63e26de67cf8ea23f3fd82754b528b809a4fdf8d19fdb2584e80839ad8
5
5
  SHA512:
6
- metadata.gz: 4b79bb85480f180aa14ee7df305a4aeb5b3a1286ab4e81b004f8e664dd29e4f1fc0afd8ff763db4cf25f9513e5b3a65436e3c430384e56ce8b04b3957b7a5098
7
- data.tar.gz: 2afe45a7a53018d14ae6896fa71868ede217a6155067ab1747ac6094406ccb6c7cb1b1fc552914a7c71b285967739a7799fc76e0a690b5ae10fd8523b3c9bc9f
6
+ metadata.gz: b2bcbc933a82580919fdb3aef2375290126ca8394debf8883b85f79ca5a4c810313c835bdd09ab589a55beae9c0db5ee2d9f8aeb941b413b3170a7baf893ccbd
7
+ data.tar.gz: 7a2c921669f69aab559377b13615288a56d682f8a71f825a136975c284172350cd1ac295bbefb24c599026f370a463f8ea6b7c8093012db481969d3bc8c90260
data/_layouts/feed.html CHANGED
@@ -21,7 +21,7 @@
21
21
  </div>
22
22
  </div>
23
23
  {% if site.algolia.application_id %}
24
- <div class="row mt-5">
24
+ <div class="row mt-5 mb-5">
25
25
  {% include search-bar.html %}
26
26
  </div>
27
27
  {% endif %}
@@ -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&&e.image,""},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>"}
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>"}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lbenicio-minimal-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonardo Benicio