Add hero image and global `site_url` variable

pull/56/head
Glen Cheney 11 years ago
parent 3e5248c0c0
commit 3fe55c1c7a

@ -13,7 +13,7 @@
<script src="{{ site.url }}/js/prism.js"></script>
{% endif %}
<!-- Make the nav work -->
<script>var site_url = "{{ site.url }}";</script>
<script src="{{ site.url }}/js/page.js"></script>
{% if page.extraJS && page.extraJS.length %}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

@ -384,9 +384,6 @@ var _gaq = [ ['_setAccount', 'UA-39355642-1'], ['_trackPageview'] ];
frag.appendChild( js );
};
// Twitter SDK
// add('//platform.twitter.com/widgets.js', 'twitter-wjs');
// Load GA over http, we know it won't be over ssl
add('//www.google-analytics.com/ga.js');
@ -401,7 +398,7 @@ $(document).ready(function() {
Modules.Nav.init();
Modules.Polyfill.init();
var src = '/img/favicon-sprite.png';
var src = site_url + '/img/favicon-sprite.png';
new Modules.Favicon( src, 21, 7, 3000 * 1 );
});

Loading…
Cancel
Save