aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/_head.twig
blob: e3841c779c8b404730c4d2a702f0a7b17752fc94 (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
59
60
61
62
63
64
65
66
67
68
        <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-152.png" sizes="152x152">
        <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-152.png" sizes="152x152">

        <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-144.png" sizes="144x144">
        <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-144.png" sizes="144x144">

        <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-120.png" sizes="120x120">
        <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-120.png" sizes="120x120">

        <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-114.png" sizes="114x114">
        <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-114.png" sizes="114x114">

        <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-76.png" sizes="76x76">
        <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-76.png" sizes="76x76">

        <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-72.png" sizes="72x72">
        <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-72.png" sizes="72x72">

        <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-57.png" sizes="57x57">
        <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-57.png" sizes="57x57">

        <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon.png">
        <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon.png">

        <link rel="shortcut icon" type="image/x-icon" href="{{ poche_url }}themes/_global/img/appicon/favicon.ico">

        <link rel="stylesheet" href="{{ poche_url }}themes/default/css/knacss.css" media="all">
        <link rel="stylesheet" href="{{ poche_url }}themes/default/css/style.css" media="all">
        <link rel="stylesheet" href="{{ poche_url }}themes/{{ theme }}/css/style-{{ theme }}.css" media="all" title="{{ theme }} theme">
        <link rel="stylesheet" href="{{ poche_url }}themes/default/css/messages.css" media="all">
        <link rel="stylesheet" href="{{ poche_url }}themes/default/css/print.css" media="print">
        <script src="{{ poche_url }}themes/_global/js/jquery-2.1.3.min.js"></script>
        <script src="{{ poche_url }}themes/_global/js/jquery.mobile.events.touch.min.js"></script>
        <script src="{{ poche_url }}themes/_global/js/autoClose.js"></script>
        <script src="{{ poche_url }}themes/default/js/closeMessage.js"></script>
        <script src="{{ poche_url }}themes/_global/js/saveLink.js"></script>
        <script src="{{ poche_url }}themes/_global/js/keyboard.js"></script>
        <script src="{{ poche_url }}themes/_global/js/popupForm.js"></script>

        <!-- Enable Firefox Social Services
        script put there because of the call to poche_url -->

        <script>
        var baseurl = "{{ poche_url }}";
        console.log(baseurl);
        var data = {

                "name": "wallabag",
                "iconURL": baseurl + "/themes/_global/img/appicon/firefox-service-icon-16.png",
                "icon32URL": baseurl + "/themes/_global/img/appicon/firefox-service-icon-32.png",
                "icon64URL": baseurl + "/themes/_global/img/appicon/firefox-service-icon-64.png",

                "shareURL": baseurl + "/index.php?action=add&plainurl=%{url}",

                "description": "wallabag Extension for Firefox - The (soon to become) best way to save articles, videos and more",
                "author": "Thomas Citharel",
                "homepageURL": "http://doc.wallabag.org/en/User/save_your_first_article.html#firefox-social-api-service",
                "origin": "https://wallabag.org",
                "postActivationURL": "http://doc.wallabag.org/en/User/save_your_first_article.html#firefox-social-api-service",

                "version": "0.1"
        };
        function activateSocialFeature(node) {
                var event = new CustomEvent("ActivateSocialFeature");
                node.setAttribute("data-service", JSON.stringify(data));
                node.dispatchEvent(event);
        }
        </script>