diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-04-19 12:45:19 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-04-19 12:45:19 +0300 |
commit | 9acdf97c5bd193cf70b0d0ebc4c68bca1a05cb33 (patch) | |
tree | e6afa55681dc83b85a4407652b7f24779d209cc8 /layouts/redirect.html | |
parent | a5fb0ff01155cae4bf732c2bc424976fb13b584f (diff) |
Remove Algolia override for mobile and use latest docsearch CSS
The dropdown is now responsive by default, we just have to use the
latest docsearch CSS https://github.com/algolia/docsearch/pull/197.
Diffstat (limited to 'layouts/redirect.html')
-rw-r--r-- | layouts/redirect.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/redirect.html b/layouts/redirect.html index 0b4aab45..1c004c25 100644 --- a/layouts/redirect.html +++ b/layouts/redirect.html @@ -9,7 +9,9 @@ <link rel="stylesheet" href="<%= @items['/assets/stylesheets/bootstrap.min.*'].path %>"> <link rel="stylesheet" href="<%= @items['/assets/stylesheets/stylesheet.*'].path %>"> <link rel="stylesheet" href="<%= @items['/assets/stylesheets/footer.*'].path %>"> - <link rel="stylesheet" href="<%= @items['/assets/stylesheets/docsearch.min.*'].path %>"> + <!-- Docsearch https://community.algolia.com/docsearch/ - via CDN --> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css"> + <!-- end of docsearch --> <script async src="<%= @items['/assets/javascripts/docs.*'].path %>"></script> <link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,400italic' rel='stylesheet' type='text/css'> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> |