layout.erb 1.92 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
23
    <% translation_links.each do | loc, url | %>
      <link rel="alternate" hreflang="<%= loc %>" href="<%= url %>" />
    <% end %>
24
25
    <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
26
    <link rel="icon" type="image/png" sizes="192x192" href="/android-chrome-192x192.png">
27
28
    <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
29
    <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#003333">
30
31
    <meta name="apple-mobile-web-app-title" content="Totem">
    <meta name="application-name" content="Totem">
Chris Snijder's avatar
Chris Snijder committed
32
33
    <meta name="msapplication-TileColor" content="#003333">
    <meta name="theme-color" content="#f7f7f7">
34
35
    <%= stylesheet_link_tag "style" %>
    <%= javascript_include_tag "index" %>
36
37
38
39
40

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

  </head>
41
  <body dir="<%= config[:locales][I18n.locale][:direction] %>" id="page-top">
42
    <%= partial "partials/nav" %>
43
    <%= yield %>
44
    <%= partial "partials/footer" %>
45
46
  </body>
</html>