OLD | NEW |
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-2016 Eyeo GmbH | 3 # Copyright (C) 2006-2016 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 {% macro pageitem(name) %} | 56 {% macro pageitem(name) %} |
57 {% if name == page %} | 57 {% if name == page %} |
58 <li class="selected">{{get_string(name, "menu")}}</li> | 58 <li class="selected">{{get_string(name, "menu")}}</li> |
59 {% else %} | 59 {% else %} |
60 <li>{{name|linkify}}{{get_string(name, "menu")}}</a></li> | 60 <li>{{name|linkify}}{{get_string(name, "menu")}}</a></li> |
61 {% endif %} | 61 {% endif %} |
62 {% endmacro %} | 62 {% endmacro %} |
63 | 63 |
64 <header> | 64 <header> |
65 <a id="logo" class="sprite" itemprop="image" href="/"></a> | 65 {{"index"|linkify(id="logo", class="sprite", itemprop="image")}}</a> |
66 <nav> | 66 <nav> |
67 <ul> | 67 <ul> |
68 {% if localefile == "index" %} | 68 {% if localefile == "index" %} |
69 <li class="selected first">{{get_string("installation", "menu")}}</l
i> | 69 <li class="selected first">{{get_string("installation", "menu")}}</l
i> |
70 {% else %} | 70 {% else %} |
71 <li class="install-link first">{{"index"|linkify}}{{get_string("inst
allation", "menu")}} <span class="sprite install-link-icon"></span></a></li> | 71 <li class="install-link first">{{"index"|linkify}}{{get_string("inst
allation", "menu")}} <span class="sprite install-link-icon"></span></a></li> |
72 {% endif %} | 72 {% endif %} |
73 {% for name in ["about", "features", "bugs", "contribute"] %} | 73 {% for name in ["about", "features", "bugs", "contribute"] %} |
74 {{pageitem(name)}} | 74 {{pageitem(name)}} |
75 {% endfor %} | 75 {% endfor %} |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 <a rel="nofollow" id="social-gplus" class="sprite" href="https://p
lus.google.com/110020691898167279887"></a> | 182 <a rel="nofollow" id="social-gplus" class="sprite" href="https://p
lus.google.com/110020691898167279887"></a> |
183 </li> | 183 </li> |
184 </ul> | 184 </ul> |
185 </section> | 185 </section> |
186 </div> | 186 </div> |
187 </footer> | 187 </footer> |
188 | 188 |
189 <script src="/js/main.js"></script> | 189 <script src="/js/main.js"></script> |
190 </body> | 190 </body> |
191 </html> | 191 </html> |
OLD | NEW |