aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/layout.twig
blob: c5f52bbd69345d1c36179182c7c6cc0db1ef39dc (plain) (blame)
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
<!DOCTYPE html>
<!--[if lte IE 6]> <html class="no-js ie6 ie67 ie678" lang="en"> <![endif]-->
<!--[if lte IE 7]> <html class="no-js ie7 ie67 ie678" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 ie678" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<html>
    <head>
        <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=10">
        <title>{% block title %}{% endblock %} - poche</title>
        <link rel="shortcut icon" type="image/x-icon" href="./img/favicon.ico" />
        <link rel="apple-touch-icon-precomposed" sizes="144x144" href="./img/apple-touch-icon-144x144-precomposed.png">
        <link rel="apple-touch-icon-precomposed" sizes="72x72" href="./img/apple-touch-icon-72x72-precomposed.png">
        <link rel="apple-touch-icon-precomposed" href="./img/apple-touch-icon-precomposed.png">
        <link rel="stylesheet" href="./css/knacss.css" media="all">
        <link rel="stylesheet" href="./css/style.css" media="all">
        <!-- Light Theme -->
        <link rel="stylesheet" href="./css/style-light.css" media="all" title="light-style">
        <!-- Dark Theme -->
        <link rel="alternate stylesheet" href="./css/style-dark.css" media="all" title="dark-style">
        <script>
          top["bookmarklet-url@inthepoche.com"] = ''
            +'<!DOCTYPE html>'
            +'<html>'
              +'<head>'
            +'<title>poche it !</title>'
            +'<link rel="icon" href="{$poche_url}img/favicon.ico" />'
              +'</head>'
              +'<body>'
            +'<script>'
              +'window.onload=function(){'
                +'window.setTimeout(function(){'
                  +'history.back();'
                +'},250);'
              +'};'
            +'</scr'+'ipt>'
              +'</body>'
            +'</html>'
          ;
        </script>
    </head>
    <body class="light-style">
        <header>
            <h1><a href="/"><img src="./img/logo.png" alt="logo poche" /></a>poche</h1>
        </header>
        <div id="main">
            {% block menu %}{% endblock %}
            {% block precontent %}{% endblock %}
            {% block content %}{% endblock %}
            {% block js %}{% endblock %}
        </div>
        <footer class="mr2 mt3 smaller">
            <p>powered by <a href="http://inthepoche.com">poche</a></p>
        </footer>

    </body>
</html>