summaryrefslogtreecommitdiff
path: root/_layouts/master.html
blob: e5d0397ad4cf4f0ac31041ed1815a411eb582ab3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>{{ page.title }}</title>

    <meta charset="UTF-8">

    <style type="text/css">
        {% capture fonts %}
            {% include fonts.scss %}
        {% endcapture %}
        {{ fonts | scssify }}
    </style>

    <link rel="stylesheet" type="text/css" href="/assets/stylesheets/site.css">

    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">

    <link rel="shortcut icon" href="/assets/images/icons/favicon.ico" sizes="128x128">
    <link rel="apple-touch-icon" href="/assets/images/icons/apple/apple-touch-icon-57x57.png" sizes="57x57">
    <link rel="apple-touch-icon" href="/assets/images/icons/apple/apple-touch-icon-72x72.png" sizes="72x72">
    <link rel="apple-touch-icon" href="/assets/images/icons/apple/apple-touch-icon-76x76.png" sizes="76x76">
    <link rel="apple-touch-icon" href="/assets/images/icons/apple/apple-touch-icon-114x114.png" sizes="114x114">
    <link rel="apple-touch-icon" href="/assets/images/icons/apple/apple-touch-icon-120x120.png" sizes="120x120">
    <link rel="apple-touch-icon" href="/assets/images/icons/apple/apple-touch-icon-144x144.png" sizes="144x144">
    <link rel="apple-touch-icon" href="/assets/images/icons/apple/apple-touch-icon-152x152.png" sizes="152x152">

    <meta name="author" content="Ben Burwell">
    {% if page.description %}
    <meta name="description" content="{{ page.description }}">
    {% else %}
    <meta name="description" content="{{ site.description }}">
    {% endif %}
    <meta name="keywords" content="{{ site.keywords | join: ',' }}">

    <meta property="og:title" content="{{ page.title }}">
    <meta property="og:site_name" content="Ben Burwell">
    {% if page.description %}
    <meta property="og:description" content="{{ page.description}}">
    {% else %}
    <meta property="og:description" content="{{ site.description }}">
    {% endif %}
    {% if page.image %}
    <meta property="og:image" content="{{ page.image }}">
    {% else %}
    <meta property="og:image" content="http://www.benburwell.com/assets/images/icons/benburwell.png">
    {% endif %}
    <meta property="og:type" content="article">
    <meta property="og:url" content="http%3A%2F%2Fwww.benburwell.com{{ page.url | cgi_escape }}">
    <meta property="article:author" content="Ben Burwell">
    <meta property="fb:admins" content="1439777397">

    <meta name="twitter:card" content="summary">
    <meta name="twitter:site" content="@bburwell">
    <meta name="twitter:title" content="{{ page.title }}">
    <meta name="twitter:creator" content="@bburwell">
    {% if page.description %}
    <meta property="twitter:description" content="{{ page.description}}">
    {% else %}
    <meta property="twitter:description" content="{{ site.description }}">
    {% endif %}
    {% if page.image %}
    <meta name="twitter:image:src" content="{{ page.image }}">
    {% else %}
    <meta name="twitter:image:src" content="http://www.benburwell.com/assets/images/icons/benburwell.png">
    {% endif %}
    <meta name="twitter:domain" content="BenBurwell.com">

    {% if page.chrome-webstore-item %}
    <link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/{{ page.chrome-webstore-item }}">
    {% endif %}
  </head>
  <body>
    <header class="top-header print-hide">
      <div class="social-icons" style="float:right;">
        <a href="https://github.com/benburwell"><i class="fa fa-2x fa-github"></i></a>
        <a href="https://twitter.com/bburwell"><i class="fa fa-2x fa-twitter"></i></a>
      </div>
      <nav>
        <a class="" href="/">benburwell.com</a>
        <a class="posts" href="/posts/">/posts</a>
        <a class="projects" href="/projects/">/projects</a>
      </nav>
    </header>
    <main>
      {{ content }}
    </main>
    <footer class="print-hide">
      <div class="light-gray"><a href="/license/">&copy; 2015</a> &#149; <a href="/privacy/">Privacy</a></div>
    </footer>
  </body>
</html>