all repos — h3rald @ 36efe9e38a25802ffbb79ae7dbcc534ac0053258

The sources of https://h3rald.com

Fixed Google Analytics script; smushed images.
h3rald h3rald@h3rald.com
Tue, 15 Sep 2009 12:05:27 +0200
commit

36efe9e38a25802ffbb79ae7dbcc534ac0053258

parent

cbe29955b3cdde5195736c915eb226ce471b2f29

M layouts/default.erblayouts/default.erb

@@ -119,6 +119,7 @@ H3RALD Web Site v8.0.0 <em>"xStatic"</em> &mdash; &copy; 2004-2009 <strong>Fabio Cevasco</strong> &mdash; <a class="link" href="http://creativecommons.org/licenses/by-nc-nd/3.0/us/">Some rights reserved</a> | <a href="http://validator.w3.org/check?uri=referer" class="link">XHTML 1.1</a> | <a href="http://jigsaw.w3.org/css-validator/validator?uri=<%= url_for @item %>" class="link">CSS 2.1</a>

</div> </div> <!-- END FOOTER CONTAINER--> </div> <!-- END FOOTER --> + <script src='http://www.google-analytics.com/ga.js' type='text/javascript'></script> <script type="text/javascript"> var lloogg_clientid = "2830021149dc1a04"; var pageTracker = _gat._getTracker("UA-287139-1");

@@ -126,7 +127,6 @@ pageTracker._setAllowLinker(true);

pageTracker._trackPageview(); </script> <script type="text/javascript" src="http://lloogg.com/l.js?c=2830021149dc1a04"></script> - <script src='http://www.google-analytics.com/ga.js' type='text/javascript'></script> <script src="http://www.google.com/jsapi?key=ABQIAAAA6h3j8Jri5D_da53UPbEbThRlq2n1sm52B5HDRR5tm6o8XM18FhTKn3v155RpPeD0kWnWG81QEhhifQ" type="text/javascript"></script> <% if @site.config[:dev] = true then %> <script src="/js/jquery.js" type="text/javascript"></script>

@@ -139,7 +139,7 @@ <script src="/js/init.js" type="text/javascript"></script>

<% else %> <script src="/js/compressed.js" type="text/javascript"></script> <% end %> - <% if @item[:type] == 'page' then %> + <% if @item[:type] != 'article' then %> <script type="text/javascript"> $(document).ready(function() { display_opinions(7);