Browse files

Fixed some links to the homepage, added tracking codes

  • Loading branch information...
1 parent cdb6ca3 commit 4d768e8897f643d29314b22c9e56fd97f6b748ee @zzen zzen committed May 20, 2012
Showing with 44 additions and 13 deletions.
  1. +39 −8 _config.yml
  2. +5 −5 _layouts/default.html
View
47 _config.yml
@@ -1,13 +1,5 @@
---
root:
-static: http://static.apiary.io
-version: 1337277062
-menu:
- - ['http://apiary.io/', 'Home']
- - ['http://apiary.io/blueprint', 'API Blueprint']
- - ['http://blog.apiary.io/', 'Blog']
- - ['http://apiary.io/team', 'Team']
- - ['http://apiary.io/jobs', 'Jobs']
permalink: /:year/:month/:day/:title
lsi: false
pygments: true
@@ -19,3 +11,42 @@ description: Updates on everyone's favourite REST API tools company
keywords: rest, api, tools, json, debugging, proxy, documentation, testing, tests, support
author: Apiary
email: jakub@apiary.io
+static: http://static.apiary.io
+version: 1337277062
+menu:
+ - ['http://apiary.io/', 'Home']
+ - ['http://apiary.io/blueprint', 'API Blueprint']
+ - ['http://blog.apiary.io/', 'Blog']
+ - ['http://apiary.io/team', 'Team']
+ - ['http://apiary.io/jobs', 'Jobs']
+tracking: >
+ <script>
+ var _gaq = [['_setAccount', 'UA-18252923-1'], ['_setDomainName', '.apiary.io'], ['_trackPageview']];
+ (function(d, t) {
+ var g = d.createElement(t),
+ s = d.getElementsByTagName(t)[0];
+ g.async = true;
+ g.src = ('https:' == location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ s.parentNode.insertBefore(g, s);
+ })(document, 'script');
+ </script>
+ <script type="text/javascript">
+ var GoSquared={};
+ GoSquared.acct = "GSN-493742-G";
+ (function(w){
+ function gs(){
+ w._gstc_lt=+(new Date); var d=document;
+ var g = d.createElement("script"); g.type = "text/javascript"; g.async = true; g.src = "//d1l6p2sc9645hc.cloudfront.net/tracker.js";
+ var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(g, s);
+ }
+ w.addEventListener?w.addEventListener("load",gs,false):w.attachEvent("onload",gs);
+ })(window);
+ </script>
+ <script type="text/javascript">
+ var uvOptions = {};
+ (function() {
+ var uv = document.createElement('script'); uv.type = 'text/javascript'; uv.async = true;
+ uv.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'widget.uservoice.com/QfFjfKUkAgUNRFdUmuX6A.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(uv, s);
+ })();
+ </script>
View
10 _layouts/default.html
@@ -34,7 +34,7 @@
<header>
<div id="stripe">
<div id="mainMenu">
- <a href="/"><img src="{{ site.static }}/homepage/css/design/apiaryIOlogo.png" width="105" height="31"></a>
+ <a href="http://apiary.io/"><img src="{{ site.static }}/homepage/css/design/apiaryIOlogo.png" width="105" height="31"></a>
<ul>
{% for item in site.menu %}
<a href="{{ item[0] }}"{% if item[1] == 'Blog' %} class="selected"{% endif %}><li>{{ item[1] }}</li></a>
@@ -43,8 +43,8 @@
</div>
<div id="userMenu">
<ul>
- <!--<a class="cta" href="/register"><li><em>Sign Up For Free!</em></li></a>-->
- <a href="/login"><li>Sign In</li></a>
+ <!--<a class="cta" href="http://apiary.io/register"><li><em>Sign Up For Free!</em></li></a>-->
+ <a href="http://apiary.io/login"><li>Sign In</li></a>
</ul>
</div>
</div>
@@ -83,7 +83,7 @@
</div>-->
<div id="footNotes">
<p id="copyrights">Copyright 2012 Apiary Ltd. All rights reserved.</p>
- <p id="interaction">Follow us on <a href="http://twitter.com/apiaryio" target="_blank">Twitter</a> • <a href="/team">Contact Us</a></p>
+ <p id="interaction">Follow us on <a href="http://twitter.com/apiaryio" target="_blank">Twitter</a> • <a href="http://apiary.io/team">Contact Us</a></p>
</div>
<!--<div id="evilBee"></div>-->
</footer>
@@ -94,7 +94,7 @@
<script> DD_belatedPNG.fix('img, .png_bg'); </script>
<![endif]-->
-{{ tracking }}
+{{ site.tracking }}
</body>
</html>

0 comments on commit 4d768e8

Please sign in to comment.