|
1 | 1 | <!DOCTYPE html> |
2 | | -<html lang="en"> |
| 2 | +<html lang="zh-Hans"> |
3 | 3 |
|
4 | 4 | <head> |
5 | 5 | <meta charset="utf-8" /> |
6 | 6 | <title>{{ site.title }} - {{ page.title | escape }}</title> |
7 | 7 | {% if jekyll.environment == 'stage' %} |
8 | 8 | <meta name="robots" content="noindex" /> |
9 | 9 | {% endif %} |
10 | | - <meta name="author" content="Apple Inc." /> |
| 10 | + <meta name="author" content="SwiftGG" /> |
11 | 11 | <meta name="viewport" content="width=device-width initial-scale=1" /> |
12 | 12 | {% if page.excerpt %} |
13 | 13 | <meta name="description" content="{{ page.excerpt | strip_html | escape }}"> |
|
29 | 29 | <link rel="alternate" type="application/atom+xml" title="Swift.org (Atom Feed)" href="/atom.xml" /> |
30 | 30 | {% endif %} |
31 | 31 |
|
| 32 | + <!-- Google Tag Manager --> |
| 33 | + <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': |
| 34 | + new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], |
| 35 | + j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= |
| 36 | + 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); |
| 37 | + })(window,document,'script','dataLayer','GTM-K5J4Q9FN');</script> |
| 38 | + <!-- End Google Tag Manager --> |
| 39 | + |
32 | 40 | {% if page.url %} |
33 | 41 | <link rel="canonical" href="{{ site.url }}{{ page.url }}" /> |
34 | 42 | {% endif %} |
35 | 43 |
|
36 | 44 | <meta name="twitter:card" content="summary" /> |
37 | | - <meta name="twitter:site" content="@SwiftLang" /> |
| 45 | + <meta name="twitter:site" content="@SwiftGG" /> |
38 | 46 | {% if page.id %} |
39 | 47 | <meta name="twitter:title" content="{{ page.title | escape }}" /> |
40 | 48 | <meta name="twitter:description" content="{{ page.excerpt | strip_html | escape }}" /> |
|
63 | 71 | </head> |
64 | 72 |
|
65 | 73 | <body> |
| 74 | + <!-- Google Tag Manager (noscript) --> |
| 75 | +<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-K5J4Q9FN" |
| 76 | + height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> |
| 77 | + <!-- End Google Tag Manager (noscript) --> |
66 | 78 | {% if jekyll.environment == 'stage' %} |
67 | 79 | <p class="stage"> |
68 | 80 | ⚠️ STAGING WEBSITE ⚠️<br> |
69 | | - Visit <a href="https://www.swift.org">swift.org</a> for production website. |
| 81 | + Visit <a href="https://swift.swiftgg.team">swift.swiftgg.team</a> for production website. |
70 | 82 | </a> |
71 | 83 | </p> |
72 | 84 | {% endif %} |
|
0 commit comments