|
1 | 1 | {% comment -%}
|
2 |
| -You shouldn't have to edit this page very often. But if you want |
3 |
| -to modify some of the meta-data for the site, this is the place to do it. |
| 2 | + You shouldn't have to edit this page very often. But if you want |
| 3 | + to modify some of the meta-data for the site, this is the place to do it. |
4 | 4 | {% endcomment %}
|
5 | 5 |
|
6 | 6 | {%- if tags -%}
|
|
11 | 11 |
|
12 | 12 | <head>
|
13 | 13 | <!-- Basic Page Needs
|
14 |
| - ================================================== --> |
| 14 | + ================================================== --> |
15 | 15 | <meta charset="utf-8" />
|
16 | 16 | <meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
| 17 | + {%- unless env.production %} |
| 18 | + <meta name="robots" content="noindex, nofollow" /> |
| 19 | + {%- endunless %} |
17 | 20 | <!-- Mobile Specific Metas
|
18 |
| - ================================================== --> |
| 21 | + ================================================== --> |
19 | 22 | <meta name="HandheldFriendly" content="True" />
|
20 | 23 | <meta name="MobileOptimized" content="320" />
|
21 | 24 | <meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
22 | 25 | <!-- Title and meta description
|
23 |
| - ================================================== --> |
| 26 | + ================================================== --> |
24 | 27 |
|
25 |
| - {% if seo_title %} |
26 |
| - {% assign page_title = seo_title | append : ' | 18F ' %} |
27 |
| - {% else %} |
28 |
| - {% assign page_title = title | append : ' | 18F ' %} |
29 |
| - {% endif %} |
| 28 | + {% if seo_title %} |
| 29 | + {% assign page_title = seo_title | append : ' | 18F ' %} |
| 30 | + {% else %} |
| 31 | + {% assign page_title = title | append : ' | 18F ' %} |
| 32 | + {% endif %} |
30 | 33 |
|
31 |
| - <title>{{page_title}}{{ titles_roots[guide].title }} </title> |
| 34 | + <title>{{page_title}}{{ titles_roots[guide].title }} </title> |
32 | 35 | <meta property="og:title" content="{{page_title}}{{ titles_roots[guide].title }}" />
|
33 | 36 | <meta name="description" content="{{description}}" />
|
34 | 37 | <meta property="og:description" content="{{description}}" />
|
|
44 | 47 | <script async="" src="{{ assetPaths['uswds.js'] }} "></script>
|
45 | 48 |
|
46 | 49 | <!-- Favicon
|
47 |
| - ================================================== --> |
| 50 | + ================================================== --> |
48 | 51 | <link rel="icon" type="image/png" sizes="16x16" href="{{'/img/favicons/favicon-16x16.png' | url }}">
|
49 | 52 | <link rel="icon" type="image/png" sizes="32x32" href="{{'/img/favicons/favicon-32x32.png' | url }}">
|
50 | 53 | <link rel="icon" type="image/png" sizes="192x192" href="{{'/img/favicons/favicon-192x192.png' | url }}">
|
|
53 | 56 | <link rel="apple-touch-icon" sizes="180x180" href="{{'/img/favicons/favicon-180x180.png' | url }}">
|
54 | 57 |
|
55 | 58 | <!-- CSS
|
56 |
| - ================================================== --> |
| 59 | + ================================================== --> |
57 | 60 | <link rel="preload" as="style" href="{{ assetPaths['styles.css'] }}" />
|
58 | 61 | <link href=" https://unpkg.com/[email protected]/themes/prism.css" rel=" stylesheet" >
|
59 | 62 | <link rel="stylesheet" href="{{ assetPaths['styles.css'] }}" type="text/css" />
|
|
0 commit comments