From 6d67ac2a1b93d6c95881cb2f17250a7a8279def6 Mon Sep 17 00:00:00 2001 From: Andy Rothfusz Date: Mon, 7 Oct 2013 17:51:07 -0700 Subject: [PATCH] Insert popularity and boost docs results. --- docs/theme/docker/layout.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/theme/docker/layout.html b/docs/theme/docker/layout.html index 19c35f499..249da9eb2 100755 --- a/docs/theme/docker/layout.html +++ b/docs/theme/docker/layout.html @@ -6,6 +6,9 @@ {{ meta['title'] if meta and meta['title'] else title }} - Docker Documentation + + + {%- set url_root = pathto('', 1) %} {%- if url_root == '#' %}{% set url_root = '' %}{% endif %} @@ -168,6 +171,10 @@ Swiftype.resultContainingElement = '#st-results-container'; Swiftype.attachElement = '#st-search-input'; Swiftype.renderStyle = "overlay"; + + Swiftype.searchFunctionalBoosts = {"page": {"popularity": "linear"}}; var script = document.createElement('script'); script.type = 'text/javascript';