| LEFT | RIGHT |
| 1 {# | 1 {# |
| 2 # This file is part of the Adblock Plus website, | 2 # This file is part of the Adblock Plus website, |
| 3 # Copyright (C) 2006-present eyeo GmbH | 3 # Copyright (C) 2006-present eyeo GmbH |
| 4 # | 4 # |
| 5 # Adblock Plus is free software: you can redistribute it and/or modify | 5 # Adblock Plus is free software: you can redistribute it and/or modify |
| 6 # it under the terms of the GNU General Public License version 3 as | 6 # it under the terms of the GNU General Public License version 3 as |
| 7 # published by the Free Software Foundation. | 7 # published by the Free Software Foundation. |
| 8 # | 8 # |
| 9 # Adblock Plus is distributed in the hope that it will be useful, | 9 # Adblock Plus is distributed in the hope that it will be useful, |
| 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 {% if alternate_locale != locale %} | 38 {% if alternate_locale != locale %} |
| 39 <meta property="og:locale:alternate" content="{{ alternate_locale | to_o
g_locale }}"> | 39 <meta property="og:locale:alternate" content="{{ alternate_locale | to_o
g_locale }}"> |
| 40 {% endif %} | 40 {% endif %} |
| 41 {% endfor %} | 41 {% endfor %} |
| 42 <meta property="og:url" content="{{ get_canonical_url(page | ignore_browsers
) }}"> | 42 <meta property="og:url" content="{{ get_canonical_url(page | ignore_browsers
) }}"> |
| 43 | 43 |
| 44 {# twitter https://dev.twitter.com/cards/markup #} | 44 {# twitter https://dev.twitter.com/cards/markup #} |
| 45 <meta name="twitter:site" content="@AdblockPlus" /> | 45 <meta name="twitter:site" content="@AdblockPlus" /> |
| 46 <meta name="twitter:creator" content="@AdblockPlus" /> | 46 <meta name="twitter:creator" content="@AdblockPlus" /> |
| 47 | 47 |
| 48 <link rel="stylesheet" href="/css/defaults.css" class="cssfx"> |
| 48 <link rel="stylesheet" href="/css/main.css" class="cssfx"> | 49 <link rel="stylesheet" href="/css/main.css" class="cssfx"> |
| 49 <link rel="stylesheet" href="/css/main-desktop.css" media="(min-width: 1000p
x)" class="cssfx"> | 50 <link rel="stylesheet" href="/css/main-desktop.css" media="(min-width: 1000p
x)" class="cssfx"> |
| 50 <link rel="stylesheet" href="/css/main-mobile.css" media="(max-width: 1000px
)"> | 51 <link rel="stylesheet" href="/css/main-mobile.css" media="(max-width: 1000px
)"> |
| 51 <link rel="apple-touch-icon" href="/img/favicon-large.png" /> | 52 <link rel="apple-touch-icon" href="/img/favicon-large.png" /> |
| 52 | 53 |
| 53 <!--[if IE 8]> | 54 <!--[if IE 8]> |
| 54 <script src="/js/vendor/ie8.js"></script> | 55 <script src="/js/vendor/ie8.js"></script> |
| 55 <![endif]--> | 56 <![endif]--> |
| 56 | 57 |
| 57 {% block head %} | 58 {% block head %} |
| (...skipping 13 matching lines...) Expand all Loading... |
| 71 </head> | 72 </head> |
| 72 | 73 |
| 73 <body> | 74 <body> |
| 74 <noscript> | 75 <noscript> |
| 75 <link rel="stylesheet" href="/css/noscript-desktop.css" media="(min-width:
1000px)"/> | 76 <link rel="stylesheet" href="/css/noscript-desktop.css" media="(min-width:
1000px)"/> |
| 76 <link rel="stylesheet" href="/css/noscript-mobile.css" media="(max-width:
1000px)"/> | 77 <link rel="stylesheet" href="/css/noscript-mobile.css" media="(max-width:
1000px)"/> |
| 77 </noscript> | 78 </noscript> |
| 78 | 79 |
| 79 {% macro pageitem(name) %} | 80 {% macro pageitem(name) %} |
| 80 {% if name == page %} | 81 {% if name == page %} |
| 81 <li class="selected"><a>{{get_string(name, "menu")}}</a></li> | 82 <li class="selected">{{get_string(name, "menu")}}</li> |
| 82 {% else %} | 83 {% else %} |
| 83 <li>{{name|linkify}}{{get_string(name, "menu")}}</a></li> | 84 <li>{{name|linkify}}{{get_string(name, "menu")}}</a></li> |
| 84 {% endif %} | 85 {% endif %} |
| 85 {% endmacro %} | 86 {% endmacro %} |
| 86 | 87 |
| 87 <nav class="navbar accent"> | 88 <nav id="navbar"> |
| 88 <div class="container"> | 89 <div class="navbar-container"> |
| 89 {{ "index" | linkify(class="navbar-brand")}} | 90 {{ "index" | linkify(id="navbar-logo") }} |
| 90 <img | 91 <img |
| 91 alt="Adblock Plus" | 92 src="/img/navbar-logo.png" |
| 92 title="Adblock Plus" | 93 srcset="/img/navbar-logo.svg 2x"> |
| 93 src="/img/header-logo.png" | 94 <span>{{ "Adblock <strong>Plus</strong>" | translate("navbar-logo-text
", "Navbar logo text") }}</span> |
| 94 srcset="/img/header-logo-2x.png"> | |
| 95 </a> | 95 </a> |
| 96 <ul class="navbar-nav"> | 96 <a href="#" id="navbar-menu-toggle"> |
| 97 {% if localefile == "index" %} | 97 <img |
| 98 <li class="selected first"><a>{{get_string("installation", "menu")}}
</a></li> | 98 src="/img/menu-toggle.png" |
| 99 {% else %} | 99 srcset="/img/menu-toggle.svg 2x"> |
| 100 <li class="install-link first">{{"index"|linkify}}{{get_string("inst
allation", "menu")}} <span class="sprite install-link-icon"></span></a></li> | 100 </a> |
| 101 {% endif %} | 101 <ul id="navbar-menu"> |
| 102 {% for name in ["about", "features", "bugs", "contribute"] %} | 102 {% for pagename in ["about", "features", "bugs", "contribute"] %} |
| 103 {{pageitem(name)}} | 103 <li> |
| 104 {{ pagename | linkify }}{{ get_string(pagename, "menu") }}</a> |
| 105 </li> |
| 104 {% endfor %} | 106 {% endfor %} |
| 105 <li id="language" class="dropdown"> | 107 <li id="navbar-locale-menubar"> |
| 106 <a href="#" id="current-language" class="dropdown-toggle"> | 108 <a href="#" id="navbar-locale-selected"> |
| 107 {{ config.get("langnames", locale) }} ({{ locale | upper }}) | 109 {{ config.get("langnames", locale) }} ({{ locale | to_og_locale |
to_og_location }}) |
| 108 </a> | 110 </a> |
| 109 <ul id="language-selector" class="dropdown-menu secondary"> | 111 <ul id="navbar-locale-menu"> |
| 110 {% for available_locale in available_locales %} | 112 {% for available_locale in available_locales %} |
| 111 <li class="language-entry"> | 113 <li> |
| 112 {{ page | linkify(available_locale) }} | 114 {{ page | linkify(available_locale) }} |
| 113 {{ config.get("langnames", available_locale) }} ({{ availabl
e_locale | upper }}) | 115 {{ config.get("langnames", available_locale) }} ({{ availabl
e_locale | to_og_locale | to_og_location }}) |
| 114 </a> | 116 </a> |
| 115 </li> | 117 </li> |
| 116 {% endfor %} | 118 {% endfor %} |
| 117 </ul> | 119 </ul>{# #navbar-locale-menu #} |
| 118 </li> | 120 </li> |
| 119 </ul> | 121 </ul>{# #navbar-menu #} |
| 120 <a href="#" id="hamburger"></a> | 122 </div>{# .container #} |
| 121 </nav> | 123 </nav>{# #navbar #} |
| 122 </header> | 124 |
| 123 | 125 <div id="content" class="container content {{ localefile == "index" and page
}}"> |
| 124 <div id="content" {% if localefile == "index" %}class="{{page}}"{% endif %}> | |
| 125 {% if abbnotification %} | 126 {% if abbnotification %} |
| 126 <? include abb-notification ?> | 127 <? include abb-notification ?> |
| 127 {% endif %} | 128 {% endif %} |
| 128 {% if not noheading %} | 129 {% if not noheading %} |
| 129 <h1>{{title|translate("title")}}</h1> | 130 <h1>{{title|translate("title")}}</h1> |
| 130 {% endif %} | 131 {% endif %} |
| 131 | 132 |
| 132 {% if not notoc %} | 133 {% if not notoc %} |
| 133 {% macro toc(toclist) %} | 134 {% macro toc(toclist) %} |
| 134 <ul> | 135 <ul> |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 <a rel="nofollow" id="social-gplus" class="sprite" href="https://p
lus.google.com/110020691898167279887"></a> | 201 <a rel="nofollow" id="social-gplus" class="sprite" href="https://p
lus.google.com/110020691898167279887"></a> |
| 201 </li> | 202 </li> |
| 202 </ul> | 203 </ul> |
| 203 </section> | 204 </section> |
| 204 </div> | 205 </div> |
| 205 </footer> | 206 </footer> |
| 206 | 207 |
| 207 <script src="/js/main.js"></script> | 208 <script src="/js/main.js"></script> |
| 208 </body> | 209 </body> |
| 209 </html> | 210 </html> |
| LEFT | RIGHT |