diff --git a/components/engine/docs/theme/docker/layout.html b/components/engine/docs/theme/docker/layout.html index 19c35f4990..e415e97235 100755 --- a/components/engine/docs/theme/docker/layout.html +++ b/components/engine/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,9 @@ Swiftype.resultContainingElement = '#st-results-container'; Swiftype.attachElement = '#st-search-input'; Swiftype.renderStyle = "overlay"; + // from https://swiftype.com/questions/how-can-i-make-more-popular-content-rank-higher + // Use "page" for now -- they don't subgroup by document type yet. + Swiftype.searchFunctionalBoosts = {"page": {"popularity": "linear"}}; var script = document.createElement('script'); script.type = 'text/javascript';