Skip to content

Commit

Permalink
Sanitize templates
Browse files Browse the repository at this point in the history
* Remove original author's GA, so not to mess up the analytics
  • Loading branch information
Jeff Uthaichai committed Aug 13, 2015
1 parent 4a4f365 commit 5542e51
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 62 deletions.
10 changes: 0 additions & 10 deletions static/admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,6 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-12209022-2', 'auto');
ga('send', 'pageview');

</script>

</head>
<body>
Expand Down
30 changes: 1 addition & 29 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,7 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-12209022-2', 'auto');
ga('send', 'pageview');

</script>

<!-- fb insights-->
<meta property="fb:admins" content="576641408" />

<!--facebook-->
<meta property="og:title" content="Generate a reason to Work from Home" />
<meta property="og:site_name" content="" ntent="WFH.ninja"/>
<meta property="og:url" content="http://wfh.ninja" />
<meta property="og:description" content="Need a reason to work from home? Get some of the most effective excuses as voted by the community. WFH.Ninja is the best way to start your day!" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:image" content="http://wfh.ninja/share.png" />

<!-- twitter -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:creator" content="@christinang89" />
<meta name="twitter:url" content="http://wfh.ninja" />

</head>
</head>
<body>

<script src="/static/thirdparty/react.js"></script>
Expand Down
13 changes: 1 addition & 12 deletions static/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,7 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-12209022-2', 'auto');
ga('send', 'pageview');

</script>

</head>
</head>
<body>

<div class="site-wrapper">
Expand Down
12 changes: 1 addition & 11 deletions static/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,7 @@
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-12209022-2', 'auto');
ga('send', 'pageview');

</script>


</head>
<body>
<script src="/static/thirdparty/react.js"></script>
Expand Down

0 comments on commit 5542e51

Please sign in to comment.