|
1 | 1 | <!doctype html> |
2 | | -<html> |
| 2 | +<html class="no-js"> |
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8"> |
5 | 5 | <title>{% if page.title %}{{ page.title }} | {% endif %}{{ site.name }}</title> |
6 | 6 | <meta name="description" content="{{ site.description }}"> |
7 | 7 | <meta name="viewport" content="width=device-width,initial-scale=1"> |
| 8 | + |
| 9 | + <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'> |
| 10 | + <link rel="stylesheet" href="{{ '/styles/styles.drupal-pattern-lab.css?v=' | append: site.github.build_revision | relative_url }}"> |
8 | 11 | </head> |
9 | 12 | <body> |
10 | | - <div class="site"> |
11 | | - <header class="site__header"> |
12 | | - {% include header.html %} |
13 | | - </header> |
14 | | - <div class="site__content"> |
15 | | - {{ content }} |
| 13 | + |
| 14 | + <header class="c-global-header"> |
| 15 | + <div class="o-flag c-global-header__intro"> |
| 16 | + <div class="o-flag__image"> |
| 17 | + <a href="/" alt="Home"> |
| 18 | + <img src="{{ '/assets/images/logo--inverted.svg' | relative_url }}" alt="Pattern Lab logo combined with the Drupal Drop" width="100"> |
| 19 | + </a> |
| 20 | + </div> |
| 21 | + |
| 22 | + <div class="o-flag__body c-global-header__intro-text"> |
| 23 | + <h1 class="c-project-name">{{ site.name | default: site.github.repository_name }}</h1> |
| 24 | + </div> |
16 | 25 | </div> |
17 | | - </div> |
| 26 | + |
| 27 | + <h2 class="c-project-tagline">{{ site.description | default: site.github.project_tagline }}</h2> |
| 28 | + |
| 29 | + |
| 30 | + {% for nav_item in site.navItems %} |
| 31 | + <a href="{{ nav_item.url }}" class="c-btn">{{ nav_item.text }}</a> |
| 32 | + {% endfor %} |
| 33 | + </header> |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + <section class="c-page"> |
| 38 | + {{ content }} |
| 39 | + |
| 40 | + <footer class="c-global-footer"> |
| 41 | + {% if site.github.is_project_page %} |
| 42 | + <span class="c-global-footer__owner"> |
| 43 | + <a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span> |
| 44 | + {% endif %} |
| 45 | + <span class="c-global-footer__credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span> |
| 46 | + </footer> |
| 47 | + </section> |
| 48 | + |
| 49 | + <script src="/assets/script.js" defer></script> |
| 50 | + |
| 51 | + {% if site.google_analytics %} |
| 52 | + <script type="text/javascript"> |
| 53 | + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| 54 | + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| 55 | + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| 56 | + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
| 57 | + ga('create', '{{ site.google_analytics }}', 'auto'); |
| 58 | + ga('send', 'pageview'); |
| 59 | + </script> |
| 60 | + {% endif %} |
18 | 61 | </body> |
| 62 | + |
19 | 63 | </html> |
0 commit comments