OLD | NEW |
(Empty) | |
| 1 {% from "macros/pageitem" import pageitem %} |
| 2 |
| 3 <nav id="navbar"> |
| 4 <div class="container"> |
| 5 {{ "index" | linkify(id="navbar-logo") }} |
| 6 <img |
| 7 src="/img/navbar-logo.png" |
| 8 srcset="/img/navbar-logo.svg 2x"> |
| 9 <span>{{ "Adblock <strong>Plus</strong>" | translate("navbar-logo-text", "
Navbar logo text") }}</span> |
| 10 </a> |
| 11 <a href="#" id="navbar-menu-toggle"> |
| 12 <img |
| 13 src="/img/menu-toggle.png" |
| 14 srcset="/img/menu-toggle.svg 2x"> |
| 15 </a> |
| 16 <ul id="navbar-menu"> |
| 17 {% for pagename in ["about", "features", "bugs", "contribute"] %} |
| 18 <li> |
| 19 {{ pagename | linkify }}{{ get_string(pagename, "menu") }}</a> |
| 20 </li> |
| 21 {% endfor %} |
| 22 <li id="navbar-locale-menubar"> |
| 23 <a href="#" id="navbar-locale-selected"> |
| 24 {{ config.get("langnames", locale) }} ({{ locale | to_og_locale | to_o
g_location }}) |
| 25 </a> |
| 26 <ul id="navbar-locale-menu"> |
| 27 {% for available_locale in available_locales %} |
| 28 <li> |
| 29 {{ page | linkify(available_locale) }} |
| 30 {{ config.get("langnames", available_locale) }} ({{ available_lo
cale | to_og_locale | to_og_location }}) |
| 31 </a> |
| 32 </li> |
| 33 {% endfor %} |
| 34 </ul>{# #navbar-locale-menu #} |
| 35 </li> |
| 36 </ul>{# #navbar-menu #} |
| 37 </div>{# .container #} |
| 38 </nav>{# #navbar #} |
OLD | NEW |