|
1 |
| -{% comment %} |
| 1 | +{%- comment -%} |
2 | 2 | Copyright (C) 2018 Google LLC.
|
3 | 3 |
|
4 | 4 | Licensed under the Apache License, Version 2.0 (the "License");
|
|
11 | 11 | distributed under the License is distributed on an "AS IS" BASIS,
|
12 | 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 | 13 | See the License for the specific language governing permissions and
|
14 |
| -limitations under the License.foobar2 |
15 |
| -{% endcomment %} |
| 14 | +limitations under the License. |
| 15 | +{%- endcomment -%} |
16 | 16 |
|
17 | 17 | <head>
|
18 | 18 | <meta charset="utf-8">
|
|
22 | 22 | <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
23 | 23 | <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
24 | 24 |
|
25 |
| - <link href='https://fonts.googleapis.com/css?family=Roboto:400,400italic,700|Roboto+Mono:400,500' rel='stylesheet' type='text/css'> |
| 25 | + <link href="https://fonts.googleapis.com/css?family=Roboto:400,400italic,700|Roboto+Mono:400,500" rel="stylesheet" type="text/css"> |
26 | 26 | <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
27 |
| - <link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}"> |
28 |
| - <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}"> |
29 |
| - <link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}"> |
30 |
| - {% if site.googleAnalyticsId %} |
| 27 | + <link rel="stylesheet" href="{{ site.baseurl }}/css/main.css"> |
| 28 | + <link rel="canonical" href="{{ site.url }}{{ site.baseurl }}{{ page.url | replace: '/index.html', '/' }}"> |
| 29 | + {%- if site.googleAnalyticsId %} |
31 | 30 | <script>
|
32 | 31 | (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
33 | 32 | (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
37 | 36 | ga('create', '{{ site.googleAnalyticsId }}', 'auto');
|
38 | 37 | ga('send', 'pageview');
|
39 | 38 | </script>
|
40 |
| - {% endif %} |
| 39 | + {%- endif %} |
41 | 40 | </head>
|
0 commit comments