baseof.html 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <link rel="canonical" href="{{ .Permalink }}">
  8. <link rel="icon" type="image/png" sizes="192x192" href="{{ "images/android-icon-192x192.png" | absURL }}">
  9. <link rel="icon" type="image/png" sizes="32x32" href="{{ "images/favicon-32x32.png" | absURL }}">
  10. <link rel="icon" type="image/png" sizes="96x96" href="{{ "images/favicon-96x96.png" | absURL }}">
  11. <link rel="icon" type="image/png" sizes="16x16" href="{{ "images/favicon-16x16.png" | absURL }}">
  12. <meta name="msapplication-TileColor" content="#ffffff">
  13. <meta name="msapplication-TileImage" content="{{ "images/ms-icon-144x144.png" | absURL }}">
  14. <meta name="theme-color" content="#ffffff">
  15. <link href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" rel="stylesheet" media="none" onload="this.media='all';">
  16. <link rel="stylesheet" href="{{ "css/prism.css" | absURL }}" media="none" onload="this.media='all';">
  17. <link rel="stylesheet" type="text/css" href="{{ "css/styles.css" | absURL }}">
  18. <style id="inverter" media="none">
  19. html { filter: invert(100%) }
  20. * { background-color: inherit }
  21. img:not([src*=".svg"]), .colors, iframe, .demo-container { filter: invert(100%) }
  22. </style>
  23. <title>
  24. {{ block "title" . }}
  25. {{ .Title }} | {{ .Site.Title }}
  26. {{ end }}
  27. </title>
  28. {{ if .IsHome }}
  29. <link rel="manifest" href="manifest.json">
  30. {{ end }}
  31. </head>
  32. <body>
  33. {{ if ne .Type "print-version" }}
  34. <a href="#main">skip to content</a>
  35. {{ end }}
  36. {{ partial "svg.html" . }}
  37. <div class="wrapper {{ if eq .Type "print-version" }}print-version{{ end }}">
  38. <header class="intro-and-nav" role="banner">
  39. <div>
  40. <div class="intro">
  41. <a class="logo" href="/" aria-label="{{ .Site.Title }} home page">
  42. <img src="{{ "images/logo.svg" | absURL }}" alt="">
  43. </a>
  44. <p class="library-desc">
  45. {{ .Site.Params.Description | markdownify }}
  46. {{ if ne .Type "print-version" }}
  47. <a class="print" href="{{ "print-version" | absURL }}">
  48. <svg viewBox="0 0 35 45" aria-hidden="true" focusable="false">
  49. <use xlink:href="#doc"></use>
  50. </svg>Print version
  51. {{ end }}
  52. </a>
  53. </p>
  54. {{ if eq .Type "print-version" }}
  55. <p class="toc-link">
  56. <span aria-hidden="true">&#x2193;</span>
  57. <a href="#toc">Table of contents</a>
  58. <span aria-hidden="true">&#x2193;</span>
  59. </p>
  60. {{ end }}
  61. </div>
  62. {{ block "nav" . }}
  63. <nav id="patterns-nav" class="patterns" role="navigation">
  64. <h2 class="vh">Main navigation</h2>
  65. <button id="menu-button" aria-expanded="false">
  66. <svg viewBox="0 0 50 50" aria-hidden="true" focusable="false">
  67. <use xlink:href="#menu"></use>
  68. </svg>
  69. Menu
  70. </button>
  71. {{ $current := . }}
  72. {{ range $.Site.Home.Sections }}
  73. <ul id="patterns-list">
  74. {{ range .Pages.ByWeight }}
  75. <li class="pattern">
  76. <a href="{{ .RelPermalink }}" {{ if eq $current.Title .Title }}aria-current="page"{{ end }}>
  77. <svg class="bookmark-icon" aria-hidden="true" focusable="false" viewBox="0 0 40 50">
  78. <use xlink:href="#bookmark"></use>
  79. </svg>
  80. <span class="text">{{ .Title }}</span>
  81. </a>
  82. </li>
  83. {{ end }}
  84. {{ range .Sections.ByWeight }}
  85. <li>
  86. <h3>{{ .Title }}</h3>
  87. <ul>
  88. {{ range .Pages.ByWeight }}
  89. <li class="pattern">
  90. <a href="{{ .RelPermalink }}" {{ if eq $current.Title .Title }}aria-current="page"{{ end }}>
  91. <svg class="bookmark-icon" aria-hidden="true" viewBox="0 0 40 50" focusable="false">
  92. <use xlink:href="#bookmark"></use>
  93. </svg>
  94. <span class="text">{{ .Title }}</span>
  95. </a>
  96. </li>
  97. {{ end }}
  98. </ul>
  99. </li>
  100. {{ end }}
  101. </ul>
  102. {{ end }}
  103. </nav>
  104. {{ end }}
  105. </div>
  106. </header>
  107. <div class="main-and-footer">
  108. <div>
  109. {{ block "main" . }}
  110. {{ end }}
  111. <footer role="contentinfo">
  112. <div>
  113. <label for="themer">
  114. dark theme: <input type="checkbox" id="themer" class="vh">
  115. <span aria-hidden="true"></span>
  116. </label>
  117. </div>
  118. Powered by <strong>Infusion</strong>, a <strong>The Paciello Group</strong> project.<br>
  119. For general enquiries, contact us on info@paciellogroup.com.
  120. </footer>
  121. </div>
  122. </div>
  123. </div>
  124. <script src="{{ "js/prism.js" | absURL }}"></script>
  125. <script src="{{ "js/dom-scripts.js" | absURL }}"></script>
  126. {{ if .Page.IsHome }}
  127. <script src="{{ "js/service-worker-registration.js" | absURL }}"></script>
  128. {{ end }}
  129. </body>
  130. </html>