layout.erb 1.73 KB
Newer Older
1
2
3
4
5
6
7
8
9
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="viewport"
          content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="Join the totem project to learn more about security on the web">

10
    <!-- Use the title from a page's front matter if it has one -->
11
12
13
14
15
16
17
    <title>
        <% if current_page.data.title %>
            <%= config[:site_title] %> | <%= current_page.data.title %>
        <% else %>
            <%= config[:site_title] %>
        <% end %>
    </title>
Maarten de Waard's avatar
Maarten de Waard committed
18
19
20
    <% ogp_tags do|name, value| %>
    <meta property="<%= name %>" content="<%= value %>" />
    <% end %>
21
22
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
    <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
Chris Snijder's avatar
Chris Snijder committed
23
    <link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
24
25
    <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
    <link rel="manifest" href="/site.webmanifest">
Chris Snijder's avatar
Chris Snijder committed
26
    <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#003333">
27
28
    <meta name="apple-mobile-web-app-title" content="Totem">
    <meta name="application-name" content="Totem">
Chris Snijder's avatar
Chris Snijder committed
29
30
    <meta name="msapplication-TileColor" content="#003333">
    <meta name="theme-color" content="#f7f7f7">
31
32
    <%= stylesheet_link_tag "style" %>
    <%= javascript_include_tag "index" %>
33
34
35
36
37
38

    <!-- Custom fonts for this template -->
    <link href="https://fonts.googleapis.com/css?family=Noto+Sans|Ubuntu:500,700" rel="stylesheet" type="text/css">

  </head>
  <body id="page-top">
39
    <%= partial "partials/nav" %>
40
    <%= yield %>
41
    <%= partial "partials/footer" %>
42
43
  </body>
</html>