Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: templates/default.tmpl

Issue 6240082344280064: Issue 2518 - Regression: <noscript> tag is no longer located in <body> section (Closed)
Patch Set: Created May 18, 2015, 2:50 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 %}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld