default.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html>
  2. <html lang="{{ site.lang | default: "en-US" }}">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. {% seo %}
  8. <link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
  9. <script>
  10. window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
  11. ga('create', 'UA-197576187-1', { 'storage': 'none' });
  12. ga('set', 'referrer', document.referrer.split('?')[0]);
  13. ga('set', 'location', window.location.href.split('?')[0]);
  14. ga('set', 'anonymizeIp', true);
  15. ga('send', 'pageview');
  16. </script>
  17. <script async src='https://www.google-analytics.com/analytics.js'></script>
  18. </head>
  19. <body>
  20. <div class="sidebar">
  21. <div class="header">
  22. <h1><a href="{{ "/" | relative_url }}">{{ site.title | default: "Documentation" }}</a></h1>
  23. </div>
  24. <input type="checkbox" id="nav-toggle" class="nav-toggle">
  25. <label for="nav-toggle" class="expander">
  26. <span class="arrow"></span>
  27. </label>
  28. <nav>
  29. {% for item in site.data.navigation.nav %}
  30. <h2>{{ item.section }}</h2>
  31. <ul>
  32. {% for subitem in item.items %}
  33. <a href="{{subitem.url | relative_url }}">
  34. <li class="{% if subitem.url == page.url %}active{% endif %}">
  35. {{ subitem.title }}
  36. </li>
  37. </a>
  38. {% endfor %}
  39. </ul>
  40. {% endfor %}
  41. </nav>
  42. </div>
  43. <div class="main markdown-body">
  44. <div class="main-inner">
  45. {{ content }}
  46. </div>
  47. <div class="footer">
  48. GoogleTest &middot;
  49. <a href="https://github.com/google/googletest">GitHub Repository</a> &middot;
  50. <a href="https://github.com/google/googletest/blob/main/LICENSE">License</a> &middot;
  51. <a href="https://policies.google.com/privacy">Privacy Policy</a>
  52. </div>
  53. </div>
  54. <script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js" integrity="sha256-lZaRhKri35AyJSypXXs4o6OPFTbTmUoltBbDCbdzegg=" crossorigin="anonymous"></script>
  55. <script>anchors.add('.main h2, .main h3, .main h4, .main h5, .main h6');</script>
  56. </body>
  57. </html>