diff --git a/_includes/_search.html b/_includes/_search.html index 46ac107c00d..c79003bd1f6 100644 --- a/_includes/_search.html +++ b/_includes/_search.html @@ -52,7 +52,7 @@ } @@ -161,6 +161,9 @@ 'event_category': 'docs-engagement', 'search_term': query, }); + const path = 'https://docs2-cl-default-rtdb.firebaseio.com/search.json'; + const data = {query,time:Date.now(),url:window.location.href}; + SULX.post(path, JSON.stringify(data)); searchTimeout = null; },1000); console.log(searchTimeout); diff --git a/_includes/main.liquid b/_includes/main.liquid index 709eb5472f3..882f5412101 100644 --- a/_includes/main.liquid +++ b/_includes/main.liquid @@ -1,60 +1,59 @@ - - - {% unless title %} - {% assign title="Blockchain Oracles for Connected Smart Contracts" %} - {% endunless %} - {{title}} | Chainlink Documentation - - + + + {% unless title %} + {% assign title="Blockchain Oracles for Connected Smart Contracts" %} + {% endunless %} + {{title}} + | Chainlink Documentation + + - {% unless metadata.description %} - {% assign metadata.description="Chainlink is the most widely used oracle network for powering universally connected smart contracts, enabling any blockchain to access to real-world data & APIs" %} - {% endunless %} - - - - {% if metadata.image[0] %} - - - {% else %} - - - {% endif %} + {% unless metadata.description %} + {% assign metadata.description="Chainlink is the most widely used oracle network for powering universally connected smart contracts, enabling any blockchain to access to real-world data & APIs" %} + {% endunless %} + + + + {% if metadata.image[0] %} + + + {% else %} + + + {% endif %} - - - - - {% if hidden %} - - - {% endif %} + + + + + {% if hidden %} + + + {% endif %} - - - - - + + + + + - + - - + + - +