[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [webwml/master] Escaping equals sign in viewport



commit 56a20c470b33480e8f453defbada60c3cc3a81d9
Author: hiromipaw <hiro@xxxxxxxxxxxxxx>
Date:   Thu Aug 24 16:16:17 2017 +0200

    Escaping equals sign in viewport
---
 Makefile.common  |  1 -
 en/index.wml     |  1 +
 include/head.wmi | 10 +++++++---
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/Makefile.common b/Makefile.common
index f42670e6..ce2c22c2 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -26,7 +26,6 @@ WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi )
 HTMLFILES=$(shell perl -le 's,  (.*)/(.*).wml  ,        $$2.html.$$1    ,x, print $$_ for @ARGV' $(WMLFILES))
 DEPFILES=$(shell perl -le 's,  (.*)/(.*).wml  ,  .deps/$$2.html.$$1.d  ,x, print $$_ for @ARGV' $(WMLFILES))
 
-
 all: $(HTMLFILES)
 
 %.html.en: en/%.wml
diff --git a/en/index.wml b/en/index.wml
index c9cacf29..4a76adf3 100644
--- a/en/index.wml
+++ b/en/index.wml
@@ -4,6 +4,7 @@
 
 #include "head.wmi" TITLE="Tor Project: Anonymity Online" CHARSET="UTF-8"
 
+
 <div id="home">
     <div id="content" class="clearfix">
     	<div id="maincol">
diff --git a/include/head.wmi b/include/head.wmi
index 9d631a85..dc4d5e26 100644
--- a/include/head.wmi
+++ b/include/head.wmi
@@ -6,18 +6,22 @@
 #use "versions.wmi"
 #use "navigation.wmi"
 
+<define-tag viewport whitespace=delete>
+<meta name="viewport" content="width\=device-width, initial-scale=1">
+</define-tag>
+
+
 <!DOCTYPE html>
  <html>
  <head>
 
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-   <meta name="viewport" content="width=device-width, initial-scale=1">
+   <viewport>
    <meta name="author" content="The Tor Project, Inc.">
    <meta name="description" content="The Tor Project's free software protects your privacy online. Site blocked? Email [mailto:gettor@xxxxxxxxxxxxxx] for help downloading Tor Browser.">
    <meta name="keywords" content="tor, tor project, tor browser, avoid censorship, traffic analysis, anonymous communications, privacy, avoid surveillance, online security, anonymous online, private browsing, anonymity online, online privacy, protect privacy, private mac browser, private windows browser, private android browser, linux browser, anonymity network, tor network, onion router, onion browser">
    <meta property="og:image" content="https://www.torproject.org/images/tor-logo.jpg";>
-   <meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://static-na.payments-amazon.com";>
 {#meta#}
 
    <title>$(TITLE)</title>
@@ -40,7 +44,7 @@
    <!--[if IE 6]>
    <link href="$(DOCROOT)/css/ie6.min.css" rel="stylesheet">
    <![endif]-->
- #  <script language="javascript" type="text/javascript" src="$(DOCROOT)/global.js"></script>
+   #  <script language="javascript" type="text/javascript" src="$(DOCROOT)/global.js"></script>
    # end WML to generate css/js paths
 </head>
 <body>



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits