|
| 1 | +<!-- Basic Page Needs |
| 2 | +================================================== --> |
| 3 | + <meta charset="utf-8"> |
| 4 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 5 | + |
| 6 | +<!-- Mobile Specific Metas |
| 7 | +================================================== --> |
| 8 | + <meta name="HandheldFriendly" content="True"> |
| 9 | + <meta name="MobileOptimized" content="320"> |
| 10 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 11 | + |
| 12 | +<!-- Title and meta description |
| 13 | +================================================== --> |
| 14 | + |
| 15 | +{% if page.title == site.title %} |
| 16 | + <title>{{ site.title }}</title> |
| 17 | + <meta property="og:title" content="{{ site.title | xml_escape }}" /> |
| 18 | +{% elsif page.title %} |
| 19 | + <title>{{ site.title }} | {{ page.title }}</title> |
| 20 | + <meta property="og:title" content="{{ site.title | xml_escape }} | {{ page.title | xml_escape }}" /> |
| 21 | +{% else %} |
| 22 | + <title>{{ site.title }}</title> |
| 23 | + <meta property="og:title" content="{{ site.title | xml_escape }}" /> |
| 24 | +{% endif %} |
| 25 | + |
| 26 | +{% if page.description %} |
| 27 | + <meta name="description" content="{{ page.description | xml_escape }}"> |
| 28 | + <meta property="og:description" content="{{ page.description | xml_escape }}" /> |
| 29 | +{% else %} |
| 30 | + <meta name="description" content="{{ site.description | xml_escape }}"> |
| 31 | + <meta property="og:description" content="{{ site.description | xml_escape }}" /> |
| 32 | +{% endif %} |
| 33 | + |
| 34 | + <link rel="canonical" href="{{ site.url }}{{ page.url }}" /> |
| 35 | + |
| 36 | + |
| 37 | +<!-- Favicons |
| 38 | +================================================== --> |
| 39 | + <!-- 128x128 --> |
| 40 | + <link rel="shortcut icon" type="image/ico" href="{{ site.baseurl }}/assets/img/favicons/favicon.ico" /> |
| 41 | + <link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/img/favicons/favicon.png" /> |
| 42 | + |
| 43 | + <!-- 192x192, as recommended for Android |
| 44 | + http://updates.html5rocks.com/2014/11/Support-for-theme-color-in-Chrome-39-for-Android |
| 45 | + --> |
| 46 | + <link rel="icon" type="image/png" sizes="192x192" href="{{ site.baseurl }}/assets/img/favicons/favicon-192.png" /> |
| 47 | + |
| 48 | + <!-- 57x57 (precomposed) for iPhone 3GS, pre-2011 iPod Touch and older Android devices --> |
| 49 | + <link rel="apple-touch-icon-precomposed" href="{{ site.baseurl }}/assets/img/favicons/favicon-57.png"> |
| 50 | + <!-- 72x72 (precomposed) for 1st generation iPad, iPad 2 and iPad mini --> |
| 51 | + <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ site.baseurl }}/assets/img/favicons/favicon-72.png"> |
| 52 | + <!-- 114x114 (precomposed) for iPhone 4, 4S, 5 and post-2011 iPod Touch --> |
| 53 | + <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ site.baseurl }}/assets/img/favicons/favicon-114.png"> |
| 54 | + <!-- 144x144 (precomposed) for iPad 3rd and 4th generation --> |
| 55 | + <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.baseurl }}/assets/img/favicons/favicon-144.png"> |
| 56 | + |
| 57 | +<!-- CSS |
| 58 | +================================================== --> |
| 59 | + <link rel="stylesheet" href="{{ "/assets/uswds-1.0.0/css/styleguide.css" | prepend: site.baseurl }}"> |
0 commit comments