| Index: templates/default.tmpl |
| =================================================================== |
| --- a/templates/default.tmpl |
| +++ b/templates/default.tmpl |
| @@ -19,20 +19,16 @@ |
| <html lang="{{locale}}" dir="{{"rtl" if config.has_option("rtl", locale) else "ltr"}}" itemscope="itemscope" itemtype="http://schema.org/WebPage"> |
| <head> |
| <title>{{title|translate("title")}}</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <link rel="stylesheet" href="/css/main.css" class="cssfx"> |
| <link rel="stylesheet" href="/css/main-desktop.css" media="(min-width: 40.5em)" class="cssfx"> |
| <link rel="stylesheet" href="/css/main-mobile.css" media="screen and (max-width: 40.5em)"> |
| - <noscript> |
| - <link rel="stylesheet" href="/css/noscript-desktop.css" media="(min-width: 40.5em)"/> |
| - <link rel="stylesheet" href="/css/noscript-mobile.css" media="screen and (max-width: 40.5em)"/> |
| - </noscript> |
| <link rel="canonical" href="https://adblockplus.org/{{page}}"> |
| {% block head %} |
| {{head|safe}} |
| {% endblock %} |
| <!--[if lt IE 7]> |
| @@ -46,16 +42,21 @@ |
| <!--[if lt IE 10]><script src="/js/vendor/cssfx.min.js"></script><![endif]--> |
| <!-- Fixes cssfx issues in IE8. --> |
| <!--[if IE 8]> |
| <link rel="stylesheet" href="/css/empty.css" class="cssfx"/> |
| <![endif]--> |
| </head> |
| <body> |
| + <noscript> |
| + <link rel="stylesheet" href="/css/noscript-desktop.css" media="(min-width: 40.5em)"/> |
| + <link rel="stylesheet" href="/css/noscript-mobile.css" media="screen and (max-width: 40.5em)"/> |
| + </noscript> |
| + |
| {% macro pageitem(name) %} |
| {% if name == page %} |
| <li class="selected">{{get_string(name, "menu")}}</li> |
| {% else %} |
| <li>{{name|linkify}}{{get_string(name, "menu")}}</a></li> |
| {% endif %} |
| {% endmacro %} |