rancher-header.html 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>{{ page.title }}</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta name="description" content="{{ site.description }}">
  8. <link href="/favicon.png" rel="shortcut icon" type="image/png" sizes="16x16">
  9. <link href="{{site.baseurl}}/css/syntax.css?t={{site.time}}" rel="stylesheet">
  10. <link href="{{site.baseurl}}/vendor/font-awesome/css/font-awesome.min.css?t={{site.time}}" rel="stylesheet">
  11. <link href="{{site.baseurl}}/vendor/lato/lato.css?t={{site.time}}" rel="stylesheet">
  12. <link href="{{site.baseurl}}/css/lacsso.css?t={{site.time}}" rel="stylesheet">
  13. <link href="{{site.baseurl}}/css/slicknav.css?t={{site.time}}" rel="stylesheet">
  14. <link href="{{site.baseurl}}/css/rancher-docs.css?t={{site.time}}" rel="stylesheet">
  15. </head>
  16. <body class="bg-default" class="bg-default">
  17. <div class="row body">
  18. <header id="header" class="section">
  19. <nav class="row" role="navigation">
  20. <div class="col span-3">
  21. <a class="navbar-brand" href="/"><img src="{{site.baseurl}}/img/rancher-logo-nopadding.svg" width="200px" style="padding-left: 20px" /></a>
  22. </div>
  23. <div class="col span-5 offset-3">
  24. <!--Start Google Search-->
  25. <div class="gcse-search" id="google-search"></div>
  26. <script>
  27. var match = window.location.pathname.match(/\/rancher\/([^\/]+)/);
  28. if ( match ) {
  29. document.getElementById('google-search').setAttribute('data-defaultToRefinement', match[1]);
  30. }
  31. (function() {
  32. var cx = '007896692384436596364:60akf3bfmxm';
  33. var gcse = document.createElement('script');
  34. gcse.type = 'text/javascript';
  35. gcse.async = true;
  36. gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
  37. var s = document.getElementsByTagName('script')[0];
  38. s.parentNode.insertBefore(gcse, s);
  39. })();
  40. </script>
  41. <!--End Google Search-->
  42. </div>
  43. </nav>
  44. </header>
  45. <div class="col span-3 mt-0 mr-0 sidebar">