|
1 |
| -<meta charset="utf-8"> |
2 |
| -<title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.title }}</title> |
3 |
| -<meta name="description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}"> |
4 |
| -{% if page.tags %}<meta name="keywords" content="{{ page.tags | join: ', ' }}">{% endif %} |
5 |
| - |
6 |
| -{% if site.owner.twitter %}<!-- Twitter Cards --> |
7 |
| -{% if page.image.feature %}<meta name="twitter:card" content="summary_large_image"> |
8 |
| -<meta name="twitter:image" content="{{ site.url }}/images/{{ page.image.feature }}"> |
9 |
| -{% else %}<meta name="twitter:card" content="summary"> |
10 |
| -<meta name="twitter:image" content="{% if page.image.thumb %}{{ site.url }}/images/{{ page.image.thumb }}{% else %}{{ site.url }}/images/{{ site.logo }}{% endif %}">{% endif %} |
11 |
| -<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"> |
12 |
| -<meta name="twitter:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}"> |
13 |
| -<meta name="twitter:creator" content="@{{ site.owner.twitter }}">{% endif %} |
14 |
| - |
15 |
| -<!-- Open Graph --> |
16 |
| -<meta property="og:locale" content="en_US"> |
17 |
| -<meta property="og:type" content="article"> |
18 |
| -<meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"> |
19 |
| -<meta property="og:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}"> |
20 |
| -<meta property="og:url" content="{{ site.url }}{{ page.url }}"> |
21 |
| -<meta property="og:site_name" content="{{ site.title }}"> |
22 |
| - |
23 |
| -{% if site.google_verify %}<meta name="google-site-verification" content="{{ site.google_verify }}">{% endif %} |
24 |
| -{% if site.bing_verify %}<meta name="msvalidate.01" content="{{ site.bing_verify }}">{% endif %} |
25 |
| - |
26 |
| -{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %} |
27 |
| -<link rel="canonical" href="{{ canonical }}"> |
28 |
| -<link href="{{ site.url }}/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed"> |
29 |
| -{% if site.owner.google_plus %}<link rel="author" href="{{ site.owner.google_plus }}?rel=author">{% endif %} |
30 |
| - |
31 |
| -<!-- http://t.co/dKP3o1e --> |
32 |
| -<meta name="HandheldFriendly" content="True"> |
33 |
| -<meta name="MobileOptimized" content="320"> |
34 |
| -<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
35 |
| - |
36 |
| -<!-- For all browsers --> |
37 |
| -<link rel="stylesheet" href="{{ site.url }}/assets/css/main.min.css"> |
38 |
| -<!-- Webfonts --> |
39 |
| -<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic" rel="stylesheet" type="text/css"> |
40 |
| - |
41 |
| -<meta http-equiv="cleartype" content="on"> |
42 |
| - |
43 |
| -<!-- Load Modernizr --> |
44 |
| -<script src="{{ site.url }}/assets/js/vendor/modernizr-2.6.2.custom.min.js"></script> |
45 |
| - |
46 |
| -<!-- Icons --> |
47 |
| -<!-- 16x16 --> |
48 |
| -<link rel="shortcut icon" href="{{ site.url }}/favicon.ico"> |
49 |
| -<!-- 32x32 --> |
50 |
| -<link rel="shortcut icon" href="{{ site.url }}/favicon.png"> |
51 |
| -<!-- 57x57 (precomposed) for iPhone 3GS, pre-2011 iPod Touch and older Android devices --> |
52 |
| -<link rel="apple-touch-icon-precomposed" href="{{ site.url }}/images/apple-touch-icon-precomposed.png"> |
53 |
| -<!-- 72x72 (precomposed) for 1st generation iPad, iPad 2 and iPad mini --> |
54 |
| -<link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ site.url }}/images/apple-touch-icon-72x72-precomposed.png"> |
55 |
| -<!-- 114x114 (precomposed) for iPhone 4, 4S, 5 and post-2011 iPod Touch --> |
56 |
| -<link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ site.url }}/images/apple-touch-icon-114x114-precomposed.png"> |
57 |
| -<!-- 144x144 (precomposed) for iPad 3rd and 4th generation --> |
58 |
| -<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ site.url }}/images/apple-touch-icon-144x144-precomposed.png"> |
59 |
| - |
60 |
| -{% if page.image.background or site.background %} |
61 |
| -{% capture background %}{% if page.image.background %}{{ page.image.background }}{% else %}{{ site.background }}{% endif %}{% endcapture %} |
62 |
| -{% unless background contains 'http://' or background contains 'https://' %}{% capture background %}{{ site.url }}/images/{{ background }}{% endcapture %}{% endunless %} |
63 |
| -<style type="text/css">body {background-image:url({{ background }});}</style> |
64 |
| -{% endif %} |
| 1 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 2 | + <meta charset="utf-8"> |
| 3 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 4 | + <title>{% if page.title %}{{ page.title }}{% else %}Go database/sql tutorial{% endif %}</title> |
| 5 | + <link href="{{ page.root }}/css/bootstrap.min.css" rel="stylesheet"> |
| 6 | + <link href="{{ page.root }}/css/journal.min.css" rel="stylesheet"> |
| 7 | + <link href="{{ page.root }}/css/site.css" rel="stylesheet"> |
| 8 | + <link href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700" rel="stylesheet" type="text/css"> |
0 commit comments