default.html 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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">
  6. <meta http-equiv="Strict-Transport-Security" content="max-age=30; includeSubdomains;">
  7. <meta http-equiv="X-Content-Type-Options" content="nosniff">
  8. <meta http-equiv="X-Frame-Options" content="DENY">
  9. <meta name="referrer" content="no-referrer">
  10. {% comment %}
  11. 'require-sri-for script' may break web extensions, suggest upstream sri
  12. If google fonts have been dropped, make it 'require-sri-for script style'
  13. {% endcomment %}
  14. {% unless jekyll.environment == "development" %}
  15. <meta
  16. http-equiv="Content-Security-Policy"
  17. content="upgrade-insecure-requests;
  18. require-sri-for script;
  19. default-src 'none';
  20. base-uri 'none';
  21. frame-ancestors 'none';
  22. form-action https://duckduckgo.com/;
  23. script-src 'none';
  24. font-src 'none';
  25. img-src 'self';
  26. frame-src https://www.youtube-nocookie.com/embed/ https://player.vimeo.com/video/;
  27. style-src 'self';"
  28. >
  29. {% endunless %}
  30. <meta name="mobile-web-app-capable" content="yes">
  31. <meta name="apple-mobile-web-app-capable" content="yes">
  32. <link rel="shortcut icon" href="/favicon.ico" type="image/gif">
  33. <title>
  34. {% if page.title %}
  35. {{ page.title }} | {{ site.title }}
  36. {% else %}
  37. {{ site.title }}
  38. {% endif %}
  39. </title>
  40. <meta name="description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
  41. {% if page.tags %}
  42. <meta name="tags" content="{{ page.tags }}">
  43. {% endif %}
  44. {% if page.title == "404 Not Found" %}
  45. <meta http-equiv="refresh" content="5; url=/">
  46. {% endif %}
  47. <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
  48. <link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ '/atom.xml' | prepend: site.baseurl | prepend: site.url }}">
  49. <link
  50. rel="stylesheet"
  51. type="text/css"
  52. href="{{ '/css/main.css' | prepend: site.baseurl }}"
  53. >
  54. </head>
  55. <body>
  56. <div class="body">
  57. <header class="site-header">
  58. <h1>
  59. <a aria-label="Go to Home page" title="home" rel="noopener" href="/">
  60. {{ site.title }}
  61. </a>
  62. </h1>
  63. <a class="to-main-content" rel="noopener" href="#main-content">
  64. Go to main content
  65. </a>
  66. </header>
  67. <nav class="site-nav">
  68. <ul>
  69. {% for link in site.links %}
  70. {% if link.url contains 'bits' and page.url contains 'bits' %}
  71. {% assign full_link = page.url | prepend: site.baseurl %}
  72. {% else %}
  73. {% assign full_link = link.url | append: "/" | prepend: site.baseurl %}
  74. {% endif %}
  75. <li>
  76. <a
  77. {% if page.url == full_link %}aria-current="page"{% endif %}
  78. rel="noopener"
  79. href="{{ link.url }}"
  80. >
  81. {{link.title}}
  82. </a>
  83. </li>
  84. {% endfor %}
  85. </ul>
  86. </nav>
  87. <aside class="site-widgets">
  88. <!-- https://duckduckgo.com/params -->
  89. <form class="search-box" method="get" action="https://duckduckgo.com/">
  90. <div role="search">
  91. <input name="q" aria-labelledby="search-btn" type="search"
  92. maxlength="255" placeholder="Search site..." required>
  93. <input type="hidden" name="sites"
  94. value="search-and-deploy.gitlab.io">
  95. <input type="hidden" name="kh" value="1">
  96. <input type="hidden" name="kg" value="p">
  97. <input type="hidden" name="k1" value="-1">
  98. <input type="hidden" name="k7" value="#f4f5f6">
  99. <input type="hidden" name="k8" value="#373f51">
  100. <input type="hidden" name="k9" value="#006394">
  101. <input id="search-btn" type="submit" value="Search">
  102. </div>
  103. </form>
  104. <a class="feed" href="/atom.xml">
  105. <img alt="Subscribe to Atom feed" src="/images/feed.svg">
  106. </a>
  107. </aside>
  108. <main id="main-content" class="site-main">
  109. {{ content }}
  110. </main>
  111. <footer class="site-footer">
  112. <ul class="footer-license">
  113. <li>
  114. <a rel="license noopener noreferrer" href="{{ site.data.sites.licenses.by-sa }}">
  115. <img alt="{{ site.data.sites.licenses.by-sa-alt }}"
  116. src="{{ site.data.sites.licenses.by-sa-svg }}" />
  117. </a>
  118. </li>
  119. <li>
  120. <a rel="noopener" href="/">
  121. Search &amp; Deploy
  122. </a>
  123. </li>
  124. </ul>
  125. </footer>
  126. </div>{% comment %}.body{% endcomment %}
  127. </body>
  128. </html>