Skip to content

Commit

Permalink
Merge pull request #3 from CORSmirror/feat-homepage
Browse files Browse the repository at this point in the history
Add meta tags and Google Analytics
  • Loading branch information
remarkablemark authored Sep 6, 2016
2 parents f7338dc + f0a6e6d commit 7dfe718
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions views/layout.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,33 @@
<!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" />
<title>{{title}}</title>
<meta name="description" content="CORSmirror is a RESTful API that provides a mirror to websites with CORS enabled." />
<meta name="keywords" content="corsmirror,cors,mirror,rest,api,web,development" />

<!-- Skeleton -->
<link type="text/css" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css" />
<!-- Highlight.js -->
<link type="text/css" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/styles/github.min.css" />
<!-- Custom Styles -->
<link type="text/css" rel="stylesheet" href="/css/style.css" />
</head>
<body>
<div class="container">
{{{body}}}
</div>

<!-- Google Analytics -->
<script type="text/javascript">
(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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-59233605-3', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>

0 comments on commit 7dfe718

Please sign in to comment.