]> git.immae.eu Git - github/wallabag/wallabag.git/blame - themes/default/_head.twig
bring to all themes social services and link them to new doc
[github/wallabag/wallabag.git] / themes / default / _head.twig
CommitLineData
d5b717dc
JS
1 <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-152.png" sizes="152x152">
2 <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-152.png" sizes="152x152">
3
4 <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-144.png" sizes="144x144">
5 <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-144.png" sizes="144x144">
6
7 <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-120.png" sizes="120x120">
8 <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-120.png" sizes="120x120">
9
10 <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-114.png" sizes="114x114">
11 <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-114.png" sizes="114x114">
12
13 <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-76.png" sizes="76x76">
14 <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-76.png" sizes="76x76">
15
16 <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-72.png" sizes="72x72">
17 <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-72.png" sizes="72x72">
18
19 <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-57.png" sizes="57x57">
20 <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon-57.png" sizes="57x57">
21
22 <link rel="apple-touch-icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon.png">
23 <link rel="icon" type="image/png" href="{{ poche_url }}themes/_global/img/appicon/apple-touch-icon.png">
24
eb0c88a9
JS
25 <link rel="shortcut icon" type="image/x-icon" href="{{ poche_url }}themes/_global/img/appicon/favicon.ico">
26
08718c01
MR
27 <link rel="stylesheet" href="{{ poche_url }}themes/default/css/knacss.css" media="all">
28 <link rel="stylesheet" href="{{ poche_url }}themes/default/css/style.css" media="all">
29 <link rel="stylesheet" href="{{ poche_url }}themes/{{ theme }}/css/style-{{ theme }}.css" media="all" title="{{ theme }} theme">
30 <link rel="stylesheet" href="{{ poche_url }}themes/default/css/messages.css" media="all">
31 <link rel="stylesheet" href="{{ poche_url }}themes/default/css/print.css" media="print">
b692691d 32 <script src="{{ poche_url }}themes/_global/js/jquery-2.1.3.min.js"></script>
c34a8956 33 <script src="{{ poche_url }}themes/_global/js/jquery.mobile.events.touch.min.js"></script>
eb365a01 34 <script src="{{ poche_url }}themes/_global/js/autoClose.js"></script>
9d2140c9 35 <script src="{{ poche_url }}themes/default/js/closeMessage.js"></script>
eb365a01 36 <script src="{{ poche_url }}themes/_global/js/saveLink.js"></script>
00dc7622 37 <script src="{{ poche_url }}themes/_global/js/keyboard.js"></script>
eb365a01 38 <script src="{{ poche_url }}themes/_global/js/popupForm.js"></script>
727c35d8
TC
39
40 <!-- Enable Firefox Social Services
41 script put there because of the call to poche_url -->
42
43 <script>
44 var baseurl = "{{ poche_url }}";
45 console.log(baseurl);
46 var data = {
47
48 "name": "wallabag",
49 "iconURL": baseurl + "/themes/_global/img/appicon/firefox-service-icon-16.png",
50 "icon32URL": baseurl + "/themes/_global/img/appicon/firefox-service-icon-32.png",
51 "icon64URL": baseurl + "/themes/_global/img/appicon/firefox-service-icon-64.png",
52
53 "shareURL": baseurl + "/index.php?action=add&plainurl=%{url}",
54
55 "description": "wallabag Extension for Firefox - The (soon to become) best way to save articles, videos and more",
56 "author": "Thomas Citharel",
57 "homepageURL": "http://doc.wallabag.org/en/User/save_your_first_article.html#firefox-social-api-service",
58 "origin": "https://wallabag.org",
59 "postActivationURL": "http://doc.wallabag.org/en/User/save_your_first_article.html#firefox-social-api-service",
60
61 "version": "0.1"
62 };
63 function activateSocialFeature(node) {
64 var event = new CustomEvent("ActivateSocialFeature");
65 node.setAttribute("data-service", JSON.stringify(data));
66 node.dispatchEvent(event);
67 }
68 </script>